pub type MonotonicTicks = Instant<MonotonicTimeline, TicksUnit>;
Expand description
A timestamp from system ticks on the monotonic timeline. Does not advance while the system is suspended.
Aliased Type§
struct MonotonicTicks(/* private fields */);
Implementations§
Source§impl MonotonicTicks
impl MonotonicTicks
Sourcepub fn get() -> Self
pub fn get() -> Self
Read the number of high-precision timer ticks on the monotonic timeline. These ticks may be processor cycles, high speed timer, profiling timer, etc. They do not advance while the system is suspended.
Wraps the zx_ticks_get syscall.