class PendingPowerWorkPredicate
Defined at line 72 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 74 of file ../../zircon/kernel/include/kernel/idle_power_thread.h
bool is_pending ()
Defined at line 77 of file ../../zircon/kernel/include/kernel/idle_power_thread.h
bool operator bool ()
Defined at line 81 of file ../../zircon/kernel/include/kernel/idle_power_thread.h
State current ()
Defined at line 83 of file ../../zircon/kernel/include/kernel/idle_power_thread.h
State target ()
Defined at line 84 of file ../../zircon/kernel/include/kernel/idle_power_thread.h