[project @ 2002-08-30 13:27:42 by stolz]
authorstolz <unknown>
Fri, 30 Aug 2002 13:27:42 +0000 (13:27 +0000)
committerstolz <unknown>
Fri, 30 Aug 2002 13:27:42 +0000 (13:27 +0000)
Haddock-ise.

System/CPUTime.hsc

index e5a8a45..77a8e24 100644 (file)
@@ -28,14 +28,10 @@ import Data.Ratio
 #include "HsBase.h"
 
 -- -----------------------------------------------------------------------------
--- Computation `getCPUTime' returns the number of picoseconds CPU time
+-- |Computation 'getCPUTime' returns the number of picoseconds CPU time
 -- used by the current program.  The precision of this result is
 -- implementation-dependent.
 
--- The `cpuTimePrecision' constant is the smallest measurable difference
--- in CPU time that the implementation can record, and is given as an
--- integral number of picoseconds.
-
 getCPUTime :: IO Integer
 getCPUTime = do
 
@@ -111,6 +107,10 @@ foreign import ccall unsafe "GetProcessTimes" getProcessTimes :: Ptr HANDLE -> P
 
 #endif /* not _WIN32 */
 
+-- |The 'cpuTimePrecision' constant is the smallest measurable difference
+-- in CPU time that the implementation can record, and is given as an
+-- integral number of picoseconds.
+
 cpuTimePrecision :: Integer
 cpuTimePrecision = round ((1000000000000::Integer) % fromIntegral (clockTicks))