-- Hoogle documentation, generated by Haddock
-- See Hoogle, http://www.haskell.org/hoogle/

-- | timer functionality to clock IO commands
--   
--   clocked is a library that allows you to clock IO-operations. You can
--   use it to clock the rendering of frames, the calculation of steps in a
--   physics engine, the triggering of musical events in a real-time
--   system, etc.
@package clocked
@version 0.4.1.2

module Clocked
data Timer

-- | Run a monadic action with a Timer.
withTimer :: MonadCatchIO m => (Timer -> m a) -> m a

-- | Waits the given amount of seconds minus the elapsed time since the
--   last call to waitTimer (or the initialisation of the timer).
waitTimer :: Timer -> Double -> IO ()

-- | returns a monotonic time in seconds
getTimeDouble :: IO Double
