![]() |
ULIS
dev4.0.7
Utility Library for Imaging Systems
|
The FSchedulePolicy class provides a way to control how a task is dispatched and scheduled on a multithreaded system, in coordination with a FThreadPool and a FCommandQueue. More...
Public Member Functions | |
| FSchedulePolicy (eScheduleTimePolicy iTime=ScheduleTime_Sync, eScheduleRunPolicy iRun=ScheduleRun_Multi, eScheduleModePolicy iMode=ScheduleMode_Scanlines, eScheduleParameterPolicy iParam=ScheduleParameter_Count, int64 iValue=-1) | |
| ~FSchedulePolicy () | |
| eScheduleModePolicy | ModePolicy () const |
| eScheduleParameterPolicy | ParameterPolicy () const |
| eScheduleRunPolicy | RunPolicy () const |
| eScheduleTimePolicy | TimePolicy () const |
| int64 | Value () const |
Static Public Attributes | |
| static const FSchedulePolicy | AsyncCacheEfficient |
| static const FSchedulePolicy | AsyncMonoChunk |
| static const FSchedulePolicy | AsyncMonoScanlines |
| static const FSchedulePolicy | AsyncMultiScanlines |
| static const FSchedulePolicy | CacheEfficient |
| static const FSchedulePolicy | MonoChunk |
| static const FSchedulePolicy | MonoScanlines |
| static const FSchedulePolicy | MultiScanlines |
The FSchedulePolicy specifies wether a task should be multithreaded or not, and if so which policy should be applied. Wether the scheduling is done on a chunk basis, or on a scanline basis, for example.
| FSchedulePolicy::~FSchedulePolicy | ( | ) |
Destructor
| FSchedulePolicy::FSchedulePolicy | ( | eScheduleTimePolicy | iTime = ScheduleTime_Sync, |
| eScheduleRunPolicy | iRun = ScheduleRun_Multi, |
||
| eScheduleModePolicy | iMode = ScheduleMode_Scanlines, |
||
| eScheduleParameterPolicy | iParam = ScheduleParameter_Count, |
||
| int64 | iValue = -1 |
||
| ) |
Constructor with default values. Defaults to mono scanline run and synchronous.
| eScheduleModePolicy FSchedulePolicy::ModePolicy | ( | ) | const |
Getter for the Mode Policy.
| eScheduleParameterPolicy FSchedulePolicy::ParameterPolicy | ( | ) | const |
Getter for the Parameter Policy.
| eScheduleRunPolicy FSchedulePolicy::RunPolicy | ( | ) | const |
Getter for the Run Policy.
| eScheduleTimePolicy FSchedulePolicy::TimePolicy | ( | ) | const |
Getter for the Time Value.
| int64 FSchedulePolicy::Value | ( | ) | const |
Getter for the Parameter Value.
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
1.8.16