Skip to main content

woke

Function woke 

Source
pub(crate) fn woke(
    tick: Duration,
    mono_elapsed: Duration,
    wall_elapsed_ms: i64,
) -> bool
Expand description

Whether the computer slept between two watch ticks tick apart: the wall clock moved much further than the monotonic clock (which stops during sleep on Linux and macOS), or much further than the tick itself (where the monotonic clock runs on through sleep).