Skip to main content

boot_now

Function boot_now 

Source
pub fn boot_now() -> Duration
Expand description

The boot clock: time since boot, suspend included. Linux’s CLOCK_BOOTTIME; elsewhere (macOS) CLOCK_MONOTONIC, which counts a suspend there too.