ADTF
|
Compound class, that groups scheduling parameters. More...
Public Member Functions | |
tSchedulingParameters () | |
Constructor. | |
tSchedulingParameters (tSchedulingClass eSchedulingClass, tFloat64 fPriority) | |
Convenience constructor. More... | |
tSchedulingParameters (tSchedulingClass eSchedulingClass, tFloat64 fPriority, const tCpuAffinityMask &oCpuAffinity) | |
Convenience constructor. More... | |
tSchedulingParameters (const tSchedulingParameters &)=default | |
Copy constructor. | |
tSchedulingParameters (tSchedulingParameters &&)=default | |
Move constructor. | |
bool | operator== (const tSchedulingParameters &sOther) const |
Equals operator. More... | |
Public Attributes | |
tSchedulingClass | eSchedulingClass |
The scheduling class. | |
tFloat64 | fPriority |
The priority in the range [0.0, 1.0]. | |
tCpuAffinityMask | oCpuAffinity |
The CPU affinity. Empty -> run on all CPUs. | |
Compound class, that groups scheduling parameters.
Definition at line 75 of file thread_parameter.h.
|
inline |
Convenience constructor.
[in] | eSchedulingClass | The scheduling class. |
[in] | fPriority | The priority. |
Definition at line 91 of file thread_parameter.h.
|
inline |
Convenience constructor.
[in] | eSchedulingClass | The scheduling class. |
[in] | fPriority | The priority. |
[in] | oCpuAffinity | The CPU affinity. |
Definition at line 103 of file thread_parameter.h.
|
inline |
Equals operator.
[in] | sOther | The parameters to compare this instance with. |
tTrue | parmeters are equal. |
tFalse | parmeters are not equal. |
Definition at line 127 of file thread_parameter.h.
References tSchedulingParameters::eSchedulingClass, tSchedulingParameters::fPriority, and tSchedulingParameters::oCpuAffinity.