1 stable release
Uses old Rust 2015
1.0.0 | Feb 16, 2022 |
---|
#9 in #cpu-time
4KB
63 lines
Thread Time Measurement Library
Documentation | Github | Crate
A simple and idiomatic interface for measurement thread CPU time:
let start = ThreadTime::new();
# .. do something ..
let cpu_time: Duration = start.elapsed();
println!(" {:?}");
It's purpose is to be a Send
safe version of the cpu-time package, but focusing solely on measuring thread time and linux support.
Dependencies
~44KB