t2t-clock 0.1.1

clocks that read the time: the OS's wall and monotonic clocks, the CPU's counter, and clocks set by hand.
Documentation
1
2
3
4
5
6
7
8
//! The atomics the crate shares across threads: `core`'s, or loom's under `--cfg loom`, so the
//! clocks and their models are one body.

#[cfg(not(loom))]
pub(crate) use core::sync::atomic::{AtomicI64, Ordering};

#[cfg(loom)]
pub(crate) use loom::sync::atomic::{AtomicI64, Ordering};