class PendingPowerWorkPredicate

Defined at line 76 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 78 of file ../../zircon/kernel/include/kernel/idle_power_thread.h

bool is_pending ()

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

bool operator bool ()

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

State current ()

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

State target ()

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