Module nix::time

Structs

Clock identifier

Functions

clock_getcpuclockid any(target_os = "freebsd", target_os = "dragonfly", target_os = "linux", target_os = "android", target_os = "emscripten",)

Get the clock id of the specified process id, (see clock_getcpuclockid(3)).

clock_getres not(target_os = "redox")

Get the resolution of the specified clock, (see clock_getres(2)).

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

clock_settime not(any(target_os = "macos", target_os = "ios", all(not(any(target_env = "uclibc", target_env = "newlibc")), any(target_os = "redox", target_os = "hermit",),),))

Set the time of the specified clock, (see clock_settime(2)).