| 1 |
<!-- $Id: Chronometer.html,v 1.4 1999/04/29 16:16:32 fw Exp $ --> |
| 2 |
<head> |
| 3 |
<title>Chronometer</title> |
| 4 |
</head> |
| 5 |
|
| 6 |
<BODY BGCOLOR=#ffffff> |
| 7 |
|
| 8 |
<h2>Chronometer</h2> |
| 9 |
|
| 10 |
|
| 11 |
|
| 12 |
An integrated profiler. The profiler runs only if the code is compiled |
| 13 |
with the option -DCHRONO (see wmake/truemake) and only profiles those |
| 14 |
functions which include a balanced pair of calls<p> |
| 15 |
|
| 16 |
<pre> |
| 17 |
chronoStart("Function name") ; chronoReturn() ; |
| 18 |
</pre> |
| 19 |
|
| 20 |
To use, open Chronometer from the main menu and pick |
| 21 |
<strong>Start</strong> from the chrono menu.<p> |
| 22 |
|
| 23 |
Then do whatever you want, i.e. parse a file, maybe intersperse your |
| 24 |
work with other commands. Select <strong>Stop</strong> from the |
| 25 |
chrono menu when you are done, then pick <strong>Show</strong>.<p> |
| 26 |
|
| 27 |
<strong>Print</strong> will copy the content of the chrono window to |
| 28 |
./PS/chronometer#.PS or simply ./chronometer#.PS if you do not have a |
| 29 |
PS subdirectory in your current directory.<p> |
| 30 |
|
| 31 |
The output is in PostScript.<p> |
| 32 |
|
| 33 |
to <a href="TOC.html">Table of Contents</a><p> |
| 34 |
|
| 35 |
|
| 36 |
last edited: July 1994<p> |
| 37 |
|
| 38 |
|
| 39 |
</BODY> |