Expand description
Time helpers.
Traces use two clocks:
- monotonic — nanoseconds relative to profiler start; deterministic across replays and comparable across runs on the same machine;
- wall — absolute wall-clock nanoseconds; used to anchor epochs and to correlate with external logs.
Functions§
- monotonic_
now_ ns - Monotonic time in nanoseconds (process-local, arbitrary origin).
- wall_
now_ ns - Current wall-clock time in nanoseconds since the Unix epoch.