[][src]Crate os_clock

Structs

PosixClock

The POSIX clockid_t represents numerous types of clocks (wall, cpu, etc) However, they share a common API

Constants

MONOTONIC_CLOCK

The system-wide monotonic clock (defined as a clock that cannot be set and cannot have backwards clock jumps)

PROCESS_CLOCK

The process-wide cpu-time clock

REALTIME_CLOCK

The system-wide realtime clock

Traits

Clock

Functions

cpu_clock_for_current_thread

Get a clock for the CPU time of the current thread