Function time_util::time_at_monotonic
source ยท pub fn time_at_monotonic<Reference: Timeline, Output: Timeline>(
clock: &Clock<Reference, Output>,
reference: Instant<Reference>,
) -> Instant<Output>
Expand description
Returns the time on the clock at a given monotonic reference time. This calculates the time based on the clock transform definition, which only contains the most recent segment. This is only useful for calculating the time for monotonic times close to the current time.