-- Hoogle documentation, generated by Haddock
-- See Hoogle, http://www.haskell.org/hoogle/
-- | A tiny library for benchmarking IO actions.
--
-- A tiny library for benchmarking IO actions.
@package microtimer
@version 0.0.1.2
-- | A tiny module for measuring the time taken by an IO action.
--
-- This module is a almost a direct copy of the
-- Criterion.Measurement module from the criterion
-- package, written by Bryan O'Sullivan.
module System.Microtimer
-- | Time an IO action and return the time taken for execution, as
-- well as the return value.
time :: IO a -> IO (Double, a)
-- | Time an IO action, throwing away the result and returning the
-- time taken for execution.
time_ :: IO a -> IO Double
-- | Convert a Double value into a String which specifies how
-- long something took in seconds.
formatSeconds :: Double -> String