Module rustix::time

source · []
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.

Type Definitions

A type for the tv_nsec field of Timespec.

A type for the tv_sec field of Timespec.

struct timespec