Function nix::time::clock_gettime[][src]

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

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