Function nix::time::clock_getres
pub fn clock_getres(clock_id: ClockId) -> Result<TimeSpec>
The portability is definied by:
#[cfg(not(target_os = "redox"))]
Documentation
Get the resolution of the specified clock, (see clock_getres(2)).