class PowerLevelTransition

Defined at line 165 of file ../../zircon/kernel/lib/power-management/include/lib/power-management/energy-model.h

Represents an entry in a transition matrix, where the position in the matrix denotes

the source and target power level. This constructs just denotes the properties of that

cell.

Public Methods

PowerLevelTransition Invalid ()

Returns an invalid transition.

Defined at line 168 of file ../../zircon/kernel/lib/power-management/include/lib/power-management/energy-model.h

PowerLevelTransition Zero ()

Defined at line 169 of file ../../zircon/kernel/lib/power-management/include/lib/power-management/energy-model.h

void PowerLevelTransition ()

Defined at line 174 of file ../../zircon/kernel/lib/power-management/include/lib/power-management/energy-model.h

void PowerLevelTransition (const zx_processor_power_level_transition_t & transition)

Defined at line 175 of file ../../zircon/kernel/lib/power-management/include/lib/power-management/energy-model.h

zx_duration_mono_t latency ()

Latency for transitioning from a given level to another.

Defined at line 180 of file ../../zircon/kernel/lib/power-management/include/lib/power-management/energy-model.h

uint64_t energy_cost_nj ()

Energy cost in nano joules(nj) for transition from a given level to another.

Defined at line 183 of file ../../zircon/kernel/lib/power-management/include/lib/power-management/energy-model.h

bool operator bool ()

Whether the transition is valid or not.

Defined at line 186 of file ../../zircon/kernel/lib/power-management/include/lib/power-management/energy-model.h