A Rust crate to make time measurements that focuses on speed.
This crate is a partial replacement for the Time
and Duration
structures
from the standard library, with the following differences:
CLOCK_MONOTONIC_COARSE
is
used to retrieve the clock value on Linux systems, and transformations avoid
operations that can be slow on non-Intel systems.coarsetime
is available on crates.io
and works on Rust stable, beta, and nightly.
Windows and Unix-like systems are supported.
Available features:
nightly
: optimizes for rust-nightly