class PendingPowerWorkPredicate

Defined at line 58 of file ../../zircon/kernel/include/kernel/idle_power_thread.h

Evaluates to true if the snapshotted state indicates the power thread should be scheduled

instead of eligible work because it needs to perform a transition or power management function.

Provides accessors to the snapshotted state to facilitate efficient asserts in code paths that

have preconditions that should be checked.

Public Methods

void PendingPowerWorkPredicate (State current, State target)

Defined at line 60 of file ../../zircon/kernel/include/kernel/idle_power_thread.h

bool is_pending ()

Defined at line 63 of file ../../zircon/kernel/include/kernel/idle_power_thread.h

bool operator bool ()

Defined at line 67 of file ../../zircon/kernel/include/kernel/idle_power_thread.h

State current ()

Defined at line 69 of file ../../zircon/kernel/include/kernel/idle_power_thread.h

State target ()

Defined at line 70 of file ../../zircon/kernel/include/kernel/idle_power_thread.h