zx

Type Alias BootTicks

Source
pub type BootTicks = Instant<BootTimeline, TicksUnit>;
Expand description

A timestamp from system ticks on the boot timeline. Advances while the system is suspended.

Aliased Type§

struct BootTicks(/* private fields */);

Implementations§

Source§

impl BootTicks

Source

pub fn get() -> Self

Read the number of high-precision timer ticks on the boot timeline. These ticks may be processor cycles, high speed timer, profiling timer, etc. They advance while the system is suspended.