-- Hoogle documentation, generated by Haddock
-- See Hoogle, http://www.haskell.org/hoogle/
-- | A couple functions that probably should be in the 'clock' package
--
-- A couple functions that probably should be in the clock
-- package, such as elapsedTime and diffSeconds.
@package clock-extras
@version 0.1.0.2
-- | A couple functions that probably should be in the clock
-- package. See this issue:
-- https://github.com/corsis/clock/issues/42
module System.Clock.TimeIt
-- | Time an action. Return the elasped time the result
elapsedTime :: IO a -> IO (a, Double)
-- | Subtract two TimeSpecs and return the result in seconds
diffSeconds :: TimeSpec -> TimeSpec -> Double