Safe Haskell | None |
---|---|
Language | Haskell2010 |
- startTimer :: String -> a -> a
- traceTimer :: String -> a -> a
- restartTimer :: String -> a -> a
- initializeTimers :: IO ()
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."