[go: up one dir, main page]

Module time

Module time 

Source
Available on crate feature time only.
Expand description

Sleep, query system clocks, and set system clock

Structs§

ClockId
Clock identifier
ClockNanosleepFlags
Flags that are used for arming the timer.

Functions§

clock_getcpuclockidprocess
Get the clock id of the specified process id, (see clock_getcpuclockid(3)).
clock_getresNon-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_nanosleeplinux_android or solarish or freebsdlike or NetBSD or target_os=hurd or target_os=aix
Suspend execution of this thread for the amount of time specified by request and measured against the clock speficied by clock_id.
clock_settimeNeither iOS nor tvOS nor watchOS nor Redox nor HermitCore
Set the time of the specified clock, (see clock_settime(2)).