| Safe Haskell | None |
|---|---|
| Language | Haskell98 |
Clocked
Documentation
withTimer :: MonadCatchIO m => (Timer -> m a) -> m a Source
Run a monadic action with a Timer.
waitTimer :: Timer -> Double -> IO () Source
Waits the given amount of seconds minus the elapsed time
since the last call to waitTimer (or the initialisation of the timer).
getTimeDouble :: IO Double Source
returns a monotonic time in seconds