foundation-0.0.16: Alternative prelude with batteries and no dependencies

Foundation.Time.StopWatch

Synopsis

# Documentation

A precise stop watch

The precision is higher than a normal stopwatch, but also on some system it might not be able to record longer period of time accurately (possibly wrapping)

Create a new precise stop watch

record the time at start of call

Get the number of nano seconds since the call to startPrecise