The Haskell 98 Report
top | back | next | contents | function index


26  CPU 時刻


module CPUTime ( getCPUTime, cpuTimePrecision ) where

getCPUTime        :: IO Integer
cpuTimePrecision  :: Integer

計算 getCPUTime は現在のプログラムが使っている CPU 時間をピ コ秒単位であらわした数字を替えす。この結果の精度は cpuTimePrecision であたえられている。これは、実装上、最も短 い計測可能な CPU 時間間隔で、これはピコ秒単位の整数であたえられている。


The Haskell 98 Report
top | back | next | contents | function index
December 2002