Function nix::time::clock_getcpuclockid
pub fn clock_getcpuclockid(pid: Pid) -> Result<ClockId>
The portability is definied by:
#[cfg(any(target_os = "freebsd", target_os = "dragonfly", target_os = "linux",
target_os = "android", target_os = "emscripten",))]
Documentation
Get the clock id of the specified process id, (see clock_getcpuclockid(3)).