cpu-time

Crates.iocpu-time
lib.rscpu-time
version1.0.0
sourcesrc
created_at2018-08-23 14:55:17.769217
updated_at2019-10-27 22:41:49.171117
description Small crate that provides CPU time measurement.
homepagehttps://github.com/tailhook/cpu-time
repository
max_upload_size
id80902
size30,452
Paul Colomiets (tailhook)

documentation

https://docs.rs/cpu-time

README

CPU Time Measurement Library

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!(" {:?}");

License

Licensed under either of

Contribution

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.

Commit count: 0

cargo fmt