1
2
3
4
5
6
7
8
9
10
11
module System.CPUTime where

--- Returns the current cpu time of the process in milliseconds.
getCPUTime :: IO Int
getCPUTime external

--- Returns the current elapsed time of the process in milliseconds.
--- This operation is not supported in KiCS2 (there it always returns 0),
--- but only included for compatibility reasons.
getElapsedTime :: IO Int
getElapsedTime external