ADTF  3.14.2
IKernel::tSchedulingInfo

Struct for defining scheduling settings of a thread or timer. More...

Public Member Functions

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

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.

Definition at line 77 of file kernel_intf.h.

Constructor & Destructor Documentation

◆ 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.

Definition at line 87 of file kernel_intf.h.

References IKernel::tSchedulingInfo::aProcessorAffinity.


Copyright © Audi Electronics Venture GmbH. All rights reserved. (Generated on Tue May 10 2022 by doxygen 1.9.1)