ADTF
Loading...
Searching...
No Matches
adtf::services::ant::IKernel::tSchedulingInfo Struct Reference

#include <kernel_intf.h>

Public Member Functions

 tSchedulingInfo (tSchedulingClass eSchedulingClass=tSchedulingClass::Default, float fPriority=-1.0, const uint8_t *pProcessorAffinity=nullptr, size_t nProcessorAffinityByteCount=0)
 

Public Attributes

tSchedulingClass eSchedulingClass
 The scheduling class.
 
float fPriority
 The priority [0.0, 1.0].
 
uint8_t aProcessorAffinity [128]
 The processor affinity (bitmask).
 

Detailed Description

Struct for defining scheduling settings of a thread or timer.

Constructor & Destructor Documentation

◆ tSchedulingInfo()

adtf::services::ant::IKernel::tSchedulingInfo::tSchedulingInfo ( tSchedulingClass eSchedulingClass = tSchedulingClass::Default,
float fPriority = -1.0,
const uint8_t * pProcessorAffinity = nullptr,
size_t nProcessorAffinityByteCount = 0 )
inline

Constructor.

Parameters
[in]eSchedulingClassThe scheduling class.
[in]fPriorityThe priority in the range of 0.0 to 1.0. -1.0 = default.
[in]pProcessorAffinityA pointer to an array where each bit defines whether a thread is allowed to run on the corresponding processor.
[in]nProcessorAffinityByteCountThe size of the processor affinity array.

The documentation for this struct was generated from the following file: