fuchsia_runtime

Type Alias UtcClockDetails

Source
pub type UtcClockDetails = ClockDetails<BootTimeline, UtcTimeline>;
Expand description

Details of a UTC clock.

Aliased Type§

struct UtcClockDetails {
    pub backstop: Instant<UtcTimeline>,
    pub ticks_to_synthetic: ClockTransformation<BootTimeline, UtcTimeline>,
    pub reference_to_synthetic: ClockTransformation<BootTimeline, UtcTimeline>,
    pub error_bounds: u64,
    pub query_ticks: i64,
    pub last_value_update_ticks: i64,
    pub last_rate_adjust_update_ticks: i64,
    pub last_error_bounds_update_ticks: i64,
    pub generation_counter: u32,
}

Fields§

§backstop: Instant<UtcTimeline>

The minimum time the clock can ever be set to.

§ticks_to_synthetic: ClockTransformation<BootTimeline, UtcTimeline>

The current ticks to clock transformation.

§reference_to_synthetic: ClockTransformation<BootTimeline, UtcTimeline>

The current clock monotonic to clock transformation.

§error_bounds: u64

The current symmetric error estimate (if any) for the clock, measured in nanoseconds.

§query_ticks: i64

An observation of the system tick counter which was taken during the observation of the clock.

§last_value_update_ticks: i64

The last time the clock’s value was updated as defined by the clock monotonic reference timeline.

§last_rate_adjust_update_ticks: i64

The last time the clock’s rate adjustment was updated as defined by the clock monotonic reference timeline.

§last_error_bounds_update_ticks: i64

The last time the clock’s error bounds were updated as defined by the clock monotonic reference timeline.

§generation_counter: u32

The generation nonce.