fuchsia_runtime

Type Alias UtcClockTransform

Source
pub type UtcClockTransform = ClockTransformation<BootTimeline, UtcTimeline>;
Expand description

A transformation for the UTC clock.

Aliased Type§

struct UtcClockTransform {
    pub reference_offset: Instant<BootTimeline>,
    pub synthetic_offset: Instant<UtcTimeline>,
    pub rate: zx_clock_rate_t,
}

Fields§

§reference_offset: Instant<BootTimeline>

The offset on the reference timeline, measured in reference clock ticks.

§synthetic_offset: Instant<UtcTimeline>

The offset on the clock timeline, measured in clock ticks (typically normalized to nanoseconds).

§rate: zx_clock_rate_t

The ratio of the reference to clock rate.