Module time

Source
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_getcpuclockid
Get the clock id of the specified process id, (see clock_getcpuclockid(3)).
clock_getres
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
Suspend execution of this thread for the amount of time specified by request and measured against the clock speficied by clock_id.
clock_settime
Set the time of the specified clock, (see clock_settime(2)).