High Resolution Stopwatch

GitHub crates.io badge Docs.rs rustc requirements

An extremely accurate clock for taking measurements of the length of time between it starting and stopping. Includes the capability to pause and resume. Inspired by https://github.com/moritzrinow/winwatch. Windows Only.

Usage

```rust use hrstopwatch::Stopwatch;

let mut num: u64 = 0; let mut stopwatch = Stopwatch::start()?; for i in 0..10000 { num += i; } stopwatch.stop()?; println!("seconds to calculate: {}", stopwatch.elapsedsecondsf64()); ```