Module time

Source
Expand description

Timer implementation for the Sentinel. It supports a cached timer and a real-time timer from unix_timestamp_nanos.

Re-exports§

pub use ticker::*;

Modules§

ticker

Functions§

curr_time_millis
curr_time_nanos
format_date
The format is corresponding to crate::log::metric::METRIC_FILE_PATTERN
format_time_millis
format_time_nanos_curr
milli2nano
sleep_for_ms
sleep_for_ns
unix_time_unit_offset