nix::time

Function clock_gettime

Source
pub fn clock_gettime(clock_id: ClockId) -> Result<TimeSpec>
Expand description

Get the time of the specified clock, (see clock_gettime(2)).