ADTF  3.18.4
tSchedulingParameters

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.
 

Detailed Description

Compound class, that groups scheduling parameters.

Definition at line 75 of file thread_parameter.h.

Constructor & Destructor Documentation

◆ tSchedulingParameters() [1/2]

tSchedulingParameters ( tSchedulingClass  eSchedulingClass,
tFloat64  fPriority 
)
inline

Convenience constructor.

Parameters
[in]eSchedulingClassThe scheduling class.
[in]fPriorityThe priority.

Definition at line 91 of file thread_parameter.h.

◆ tSchedulingParameters() [2/2]

tSchedulingParameters ( tSchedulingClass  eSchedulingClass,
tFloat64  fPriority,
const tCpuAffinityMask oCpuAffinity 
)
inline

Convenience constructor.

Parameters
[in]eSchedulingClassThe scheduling class.
[in]fPriorityThe priority.
[in]oCpuAffinityThe CPU affinity.

Definition at line 103 of file thread_parameter.h.

Member Function Documentation

◆ operator==()

bool operator== ( const tSchedulingParameters sOther) const
inline

Equals operator.

Parameters
[in]sOtherThe parameters to compare this instance with.
Return values
tTrueparmeters are equal.
tFalseparmeters are not equal.

Definition at line 127 of file thread_parameter.h.

References tSchedulingParameters::eSchedulingClass, tSchedulingParameters::fPriority, and tSchedulingParameters::oCpuAffinity.