Skip to main content

Module timestamp

Module timestamp 

Source
Expand description

Wall/monotonic timestamp pair โ€” REQ-CLK-002.

Wall time and monotonic time are separate fields with separate rules: wall time is comparable across processes and machines and may step (NTP slew, PTP step, operator action); monotonic time is comparable only within a process and never steps. No API derives one from the other except Timestamp::mono_from_wall_lossy, which is explicitly labelled lossy.

Structsยง

Timestamp
A paired wall+monotonic reading.
WallTime
Wall-clock instant: nanoseconds since the Unix epoch.