Expand description
This crate contains abstractions to interact with hardware clocks.
Structs
- A
Duration
type to represent a span of time, typically used for system timeouts. - A measurement of a monotonically nondecreasing clock.
- A clock period, measured in femtoseconds.
Traits
- A clock source.
- A hardware clock that can sleep without relying on interrupts.
Functions
- Wait for the given
duration
. - Returns the current time.
- Register a clock source.
- Register the clock source that can be used to sleep when interrupts are disabled.