Available on crate feature
time only.Expand description
Sleep, query system clocks, and set system clock
Structs§
- ClockId
- Clock identifier
- Clock
Nanosleep Flags - Flags that are used for arming the timer.
Functions§
- clock_
getcpuclockid process - Get the clock id of the specified process id, (see clock_getcpuclockid(3)).
- clock_
getres Non-Redox - Get the resolution of the specified clock, (see clock_getres(2)).
- clock_
gettime - Get the time of the specified clock, (see clock_gettime(2)).
- clock_
nanosleep linux_androidorsolarishorfreebsdlikeor NetBSD ortarget_os=hurdortarget_os=aix - Suspend execution of this thread for the amount of time specified by
requestand measured against the clock speficied byclock_id. - clock_
settime Neither iOS nor tvOS nor watchOS nor Redox nor HermitCore - Set the time of the specified clock, (see clock_settime(2)).