tamarin-prover-utils-1.2.2: Utility library for the tamarin prover.

Copyright(c) 2011 Simon Meier
LicenseGPL v3 (see LICENSE)
MaintainerSimon Meier <iridcode@gmail.com>
PortabilityGHC only
Safe HaskellSafe
LanguageHaskell98

System.Timing

Description

A simple module for timing IO action.

Synopsis

Documentation

timed :: IO a -> IO (a, NominalDiffTime) #

Execute an IO action and return its result plus the time it took to execute it.

timed_ :: IO a -> IO NominalDiffTime #

Execute an IO action and return the time it took to execute it.