struct EffectiveProfile

Defined at line 323 of file ../../zircon/kernel/include/kernel/scheduler_state.h

Public Methods

void EffectiveProfile ()

Defined at line 325 of file ../../zircon/kernel/include/kernel/scheduler_state.h

void EffectiveProfile (const EffectiveProfile & )

Defined at line 327 of file ../../zircon/kernel/include/kernel/scheduler_state.h

EffectiveProfile & operator= (const EffectiveProfile & )

Defined at line 328 of file ../../zircon/kernel/include/kernel/scheduler_state.h

void EffectiveProfile (const BaseProfile & base_profile)

Defined at line 330 of file ../../zircon/kernel/include/kernel/scheduler_state.h

SchedDiscipline discipline ()

Defined at line 344 of file ../../zircon/kernel/include/kernel/scheduler_state.h

bool IsFair ()

Defined at line 348 of file ../../zircon/kernel/include/kernel/scheduler_state.h

bool IsDeadline ()

Defined at line 349 of file ../../zircon/kernel/include/kernel/scheduler_state.h

void SetFair (SchedWeight weight)

Defined at line 351 of file ../../zircon/kernel/include/kernel/scheduler_state.h

void SetDeadline (SchedDeadlineParams deadline_params)

Defined at line 355 of file ../../zircon/kernel/include/kernel/scheduler_state.h

SchedWeight weight ()

Defined at line 362 of file ../../zircon/kernel/include/kernel/scheduler_state.h

SchedWeight weight_or (SchedWeight alternative)

Defined at line 366 of file ../../zircon/kernel/include/kernel/scheduler_state.h

SchedDeadlineParams deadline ()

Defined at line 369 of file ../../zircon/kernel/include/kernel/scheduler_state.h

int32_t GetWeightOrPackedDeadlineParams ()

Returns a signed 32bit diagnostic value representing the effective

profile state. Returns either the positive weight or the negative packed

version of the deadline parameters. Memoizes the packed deadline

parameters in a reserved range of the weight to avoid unnecessary

overhead during context switches when parameters remain constant.

The packed deadline parameter format renders in decimal as -CCCCDDDD,

where CCCC is the capacity and DDDD is the relative deadline (period),

with a precision of 10us. This is useful for visualization in Perfetto,

which only supports 32bit signed priority values.

Defined at line 385 of file ../../zircon/kernel/include/kernel/scheduler_state.h