File: cputime.html

package info (click to toggle)
hugs 1.4.199801-1
  • links: PTS
  • area: non-free
  • in suites: slink
  • size: 7,220 kB
  • ctags: 5,609
  • sloc: ansic: 32,083; haskell: 12,143; yacc: 949; perl: 823; sh: 602; makefile: 236
file content (23 lines) | stat: -rw-r--r-- 1,204 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23

<title>The Haskell 1.3 Library Report: CPU Time</title>
<body bgcolor="#ffffff"> <i>The Haskell 1.4 Library Report</i><br> <a href="index.html">top</a> | <a href="locale.html">back</a> | <a href="random.html">next</a> | <a href="libindex.html">contents</a> <br><hr>
<a name="cputime"></a><a name="sect16"></a>
<h2>16<tt>&nbsp;&nbsp;</tt>CPU Time</h2>
<p>
<table border=2 cellpadding=3>
<tr><td>
<tt><br>
module&nbsp;CPUTime&nbsp;(&nbsp;getCPUTime&nbsp;)&nbsp;where<br>
<br>
getCPUTime&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;::&nbsp;IO&nbsp;Integer<br>
cpuTimePrecision&nbsp;&nbsp;::&nbsp;Integer<br>

</tt></td></tr></table>
<p>
Computation <tt>getCPUTime</tt> returns the number of picoseconds of CPU time
used by the current program.  The precision of this result is given by
<tt>cpuTimePrecision</tt>.  This is the smallest measurable difference in CPU
time that the implementation can record, and is given as an integral
number of picoseconds.<p>
<hr><i>The Haskell 1.4 Library Report</i><br><a href="index.html">top</a> | <a href="locale.html">back</a> | <a href="random.html">next</a> | <a href="libindex.html">contents</a> <br><font size=2>April 4, 1997</font>
<p>