Module rsix::time[][src]

Expand description

Time-related operations.

Enums

CLOCK_* constants for use with clock_gettime.

CLOCK_* constants for use with clock_gettime_dynamic.

A return type for nanosleep and clock_nanosleep_relative.

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.

clock_nanosleep(id, TIMER_ABSTIME, request, NULL)—Sleeps until an absolute time on a given clock.

clock_nanosleep(id, 0, request, remain)—Sleeps for a duration on a given clock.

nanosleep(request, remain)—Sleeps for a duration.

Type Definitions

struct timespec