Expand description
Time-related operations.
Structs§
- Timespec
struct timespec—A quantity of time in seconds plus nanoseconds.
Enums§
- ClockId
clockid_tCLOCK_*constants for use withclock_gettime.- Dynamic
Clock Id clockid_tCLOCK_*constants for use withclock_gettime_dynamic.
Functions§
- clock_
getres clock_getres(id)—Returns the resolution of a clock.- clock_
gettime clock_gettime(id)—Returns the current value of a clock.- clock_
gettime_ dynamic - Like
clock_gettimebut with support for dynamic clocks. - clock_
settime clock_settime(id, timespec)—Sets the current value of a settable clock.