CPU time measurement library for rust
APACHE-2.0 License
Documentation | Github | Crate
A simple and idiomatic interface for measurement CPU time:
let start = ProcessTime::now();
# .. do something ..
let cpu_time: Duration = start.elapsed();
println!(" {:?}");
Licensed under either of
Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in the work by you, as defined in the Apache-2.0 license, shall be dual licensed as above, without any additional terms or conditions.