Games Task Scheduler (GTS)
A multi-processor scheduling framework for games engines
|
A Task payload for the MicroScheduler_Workload. More...
#include <MicroScheduler_Workload.h>
Inherits gts::Task.
Public Member Functions | |
MicroScheduler_Task (MicroScheduler_Workload *pThisWorkload, WorkloadContext workloadContext) | |
virtual Task * | execute (TaskContext const &ctx) final |
Public Member Functions inherited from gts::Task | |
GTS_INLINE void | addChildTaskWithoutRef (Task *pChild) |
GTS_INLINE void | addChildTaskWithRef (Task *pChild, gts::memory_order order=gts::memory_order::seq_cst) |
GTS_INLINE void | setContinuationTask (Task *pContinuation) |
GTS_INLINE void | recycle () |
void | waitForAll () |
void | spawnAndWaitForAll (Task *pChild) |
GTS_INLINE void | setAffinity (uint32_t workerIdx) |
GTS_INLINE int32_t | addRef (int32_t count=1, gts::memory_order order=gts::memory_order::seq_cst) |
GTS_INLINE int32_t | removeRef (int32_t count=1, gts::memory_order order=gts::memory_order::seq_cst) |
GTS_INLINE void | setRef (int32_t count, gts::memory_order order=gts::memory_order::seq_cst) |
GTS_INLINE void | setName (const char *name) |
GTS_INLINE int32_t | refCount (gts::memory_order order=gts::memory_order::acquire) const |
GTS_INLINE uint32_t | getAffinity () const |
GTS_INLINE bool | isStolen () const |
GTS_INLINE Task * | parent () |
GTS_INLINE const char * | name () const |
A Task payload for the MicroScheduler_Workload.