Available on crate feature
time
only.Expand description
Time-related operations.
Enums
CLOCK_*
constants for use with [clock_gettime
].
CLOCK_*
constants for use with clock_gettime_dynamic
.
Functions
clock_getres(id)
—Returns the resolution of a clock.
clock_gettime(id)
—Returns the current value of a clock.
Like clock_gettime
but with support for dynamic clocks.