Games Task Scheduler (GTS)
A multi-processor scheduling framework for games engines
|
A abstract Workload that maps to the MicroScheduler. Subclass to create concrete MicroScheduler Workloads. More...
#include <MicroScheduler_Workload.h>
Inherits gts::Workload.
Inherited by gts::MicroSchedulerLambda_Workload.
Public Member Functions | |
GTS_INLINE uint32_t | workerAffinityId () const |
GTS_INLINE void | setWorkerAffinityId (uint32_t workerId) |
Public Member Functions inherited from gts::Workload | |
GTS_INLINE | Workload (WorkloadType::Enum type) |
virtual | ~Workload ()=default |
GTS_INLINE WorkloadType::Enum | type () const |
GTS_INLINE Node * | myNode () const |
virtual void | execute (WorkloadContext const &ctx)=0 |
Protected Attributes | |
TaskContext | m_executionContext |
uint32_t | m_workerId |
Protected Attributes inherited from gts::Workload | |
Node * | m_pMyNode |
The Node this Workload is attached to. | |
WorkloadType::Enum | m_type |
The Workloads type. | |
Friends | |
class | MicroScheduler_Task |
A abstract Workload that maps to the MicroScheduler. Subclass to create concrete MicroScheduler Workloads.