thread-time 1.0.0

Small crate that provides CPU time measurement for threads.
Documentation
  • Coverage
  • 0%
    0 out of 11 items documented0 out of 8 items with examples
  • Size
  • Source code size: 6.32 kB This is the summed size of all the files inside the crates.io package for this release.
  • Documentation size: 695.18 kB This is the summed size of all files generated by rustdoc for all configured targets
  • Ø build duration
  • this release: 10s Average build duration of successful builds.
  • all releases: 10s Average build duration of successful builds in releases after 2024-10-23.
  • Links
  • Homepage
  • crates.io
  • Dependencies
  • Versions
  • Owners
  • hamptonmoore

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.