Expand description
Time-related operations.
Structs
- A
Duration
type to represent a span of time, typically used for system timeouts.
Constants
- Number of microseconds in a second.
- Number of milliseconds in a second.
- Number of nanoseconds in a microsecond.
- Number of nanoseconds in a millisecond.
- Number of nanoseconds in a second.
- The timer IRQ number.
Functions
- Busy waiting for the given duration.
- Busy waiting until reaching the given deadline.
- Returns the current clock time in hardware ticks.
- Returns the current clock time in
TimeValue
. - Returns the current clock time in nanoseconds.
- Converts nanoseconds to hardware ticks.
- Set a one-shot timer.
- Converts hardware ticks to nanoseconds.
Type Aliases
- A measurement of the system clock.