Function timely_communication::logging::get_precise_time_ns
[−]
[src]
pub fn get_precise_time_ns() -> u64
Returns the value of an high resolution performance counter, in nanoseconds, rebased to be roughly comparable to an unix timestamp. Useful for comparing and merging logs from different machines (precision is limited by the precision of the wall clock base; clock skew effects should be taken into consideration).