|
Lockless Task Scheduler
v1.0a
A lockless task scheduler
|
Struct transient_container More...
#include <task.h>

Public Member Functions | |
| transient_container () | |
| Initializes a new instance of the base_task<TMemInterface>.transient_container struct. More... | |
| ~transient_container () | |
| Finalizes an instance of the base_task<TMemInterface>.transient_container class. More... | |
Public Attributes | |
| std::atomic_int64_t | start_gate |
| The start gate More... | |
| work_queue_type * | work_queue |
| The work queue More... | |
| work_memory_allocator_type | work_allocator |
| The work allocator More... | |
| std::atomic_int64_t | num_working |
| The number working More... | |
| profile::time | task_time |
| Total time spent running all work functions in this task More... | |
| std::atomic_int64_t | num_runned |
| Total number of times work function was called More... | |
| uint32_t | minimum_batch_size |
| Calculated minimum batch size More... | |
Struct transient_container
| task_scheduler::base_task< TMemInterface >::transient_container::transient_container | ( | ) |
Initializes a new instance of the base_task<TMemInterface>.transient_container struct.
| task_scheduler::base_task< TMemInterface >::transient_container::~transient_container | ( | ) |
Finalizes an instance of the base_task<TMemInterface>.transient_container class.
| uint32_t task_scheduler::base_task< TMemInterface >::transient_container::minimum_batch_size |
Calculated minimum batch size
| std::atomic_int64_t task_scheduler::base_task< TMemInterface >::transient_container::num_runned |
Total number of times work function was called
| std::atomic_int64_t task_scheduler::base_task< TMemInterface >::transient_container::num_working |
The number working
| std::atomic_int64_t task_scheduler::base_task< TMemInterface >::transient_container::start_gate |
The start gate
| profile::time task_scheduler::base_task< TMemInterface >::transient_container::task_time |
Total time spent running all work functions in this task
| work_memory_allocator_type task_scheduler::base_task< TMemInterface >::transient_container::work_allocator |
The work allocator
| work_queue_type* task_scheduler::base_task< TMemInterface >::transient_container::work_queue |
The work queue
1.8.13