rust-simple-stopwatch
What is it?
A minimal no-thrills stopwatch. Returns time values as floats. Uses time::precise_time_ns under the hood.
Setup
Add the dependency simple-stopwatch to your Cargo.toml file, for example:
[]
="0.1.3"
Then import the stopwatch anywhere you would like to use it:
extern crate simple_stopwatch;
use Stopwatch;
Example Use
Inspiration / Other Projects
- stopwatch by Chucky Ellison