Function libuv::misc::clock_gettime
source · pub fn clock_gettime(clock_id: ClockId) -> Result<TimeSpec64>
Expand description
Obtain the current system time from a high-resolution real-time or monotonic clock source.
The real-time clock counts from the UNIX epoch (1970-01-01) and is subject to time adjustments; it can jump back in time.
The monotonic clock counts from an arbitrary point in the past and never jumps back in time.