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


-- | A simple wrapper to show the used CPU time of monadic computation with
--   an IO base.
@package timeit
@version 2.0

module System.TimeIt

-- | Wrap an IO computation so that it prints out the execution time.
--   
--   Note: Use IO instead of MonadIO to avoid redundant import issues on
--   some GHC installations/architectures.
timeIt :: IO a -> IO a

-- | Like <a>timeIt</a>, but uses the <a>show</a> rendering of <tt>a</tt>
--   as label for the timing.
timeItShow :: Show a => IO a -> IO a

-- | Like <a>timeIt</a>, but uses the <a>String</a> as label for the
--   timing.
timeItNamed :: String -> IO a -> IO a

-- | Wrap an IO computation so that it returns execution time in seconds,
--   as well as the result value.
timeItT :: IO a -> IO (Double, a)
