Module base::cross_process_instant
source · Expand description
An implementation of a monotonic, nanosecond precision timer, like std::time::Instant
that
can be serialized and compared across processes.
Modules§
- platform 🔒
Structs§
- A monotonic, nanosecond precision timer that can be used cross-process. The value stored internally is purposefully opaque as the origin is platform-specific. They can be compared and
time_03::Duration
can be found by subtracting one from another. Thetime
crate is used in this case instead ofstd::time
so that durations can be negative.