debug-time-0.1.0.0: Debug.Trace equivalent for timing computations

Safe HaskellNone
LanguageHaskell2010

Debug.Time

Synopsis

Documentation

startTimer :: String -> a -> a Source

Ties the evaluation of the value with the start of a timer with the given name.

traceTimer :: String -> a -> a Source

Ties the evaluation of the value with an action tracing the elapsed time since the start of the timer.

restartTimer :: String -> a -> a Source

Synonym for startTimer.

initializeTimers :: IO () Source

Initializes the timer store. This makes the first measurement more reliable."