Expand description
Wall and elapsed clocks.
Structs§
- System
Clock - The default clock: system wall time and a monotonic origin aligned to the process-wide millisecond grid, so default instances share one local expiry grid.
Traits§
- Clock
- Separates wall timestamps from monotonic elapsed time.
Functions§
- grid_
origin_ ns - The origin of a clock constructed
now_nsafter the process origin so that its whole-millisecond readings fall on the process-wide grid: the nearest aligned instant at or before construction.