Skip to main content

counter_ms

Function counter_ms 

Source
pub fn counter_ms(ctx: &ServiceContext) -> u64
Expand description

The machine’s counter in milliseconds: a reading every task shares, that only goes forward, so two taken by two instances of one service - the second after the first died - are in order. For telling one instance’s events from the next one’s, not for a date, and not time since boot on every board (the counter’s origin is the board’s). 0 when the counter is uncalibrated, where it cannot be known.