📄 cpumon.htm
字号:
April 5, 1999 v2.0</span>
<hr>
</td>
</tr>
<tr valign="middle">
<td colspan="2" height="40"><span class='sectionheader'>Introduction</span>
</td>
</tr>
<tr>
<td valign="TOP" colspan="2" align="left">
<p><b></b><i>CPUMon</i> is an advanced performance
measurement tool. Its combination GUI/device driver
make the wide range of processor performance counters
present on the Pentium, Pentium Pro and Pentium
II/III, easily accessible. You select the two
counters you’re interested in, enable them
via the GUI, and at a later point stop the counters
in order to see their values. While a measurement
is in progress you can watch the values change
with NT's built-in <i>Perfmon</i>.<br>
<br>
<i>CPUMon</i> works on NT 4.0 and Win2K. </p>
<p><i><font color="#FF0000">Note that CPUMon does
not work on Pentium 4 CPUs.</font></i><br>
</p>
</td>
</tr>
<tr>
<td valign="TOP" colspan="2"><img src="../../images/screenshots/cpumonshot.gif" width="415" height="301"><br>
<br>
Here is a screenshot of <i>CPUMon's</i> counter
selection dialog with <i>Perfmon</i> displaying
counter values in real-time.</td>
</tr>
<tr valign="middle">
<td height="40" colspan="2"><span class='sectionheader'>Using
CPUMon</span> </td>
</tr>
<tr>
<td colspan="2" valign="TOP"><b></b>Simply run the
<i>CPUMon</i> GUI (cpumon.exe) from the same directory
that the driver (cpusys.sys) resides in. Note that
it must be located on a non-network drive and that
you must have administrative privilege to run <i>CPUMon</i>.<br>
<br>
After <i>CPUMon</i> has started you select the two
performance counters that you wish to enable. The
fact that only two counters can be active at any
given time is a limitation of the processors, not
<i>CPUMon</i>. Just before you are ready to start
the activity you are going to measure, press the
Start button. This resets and starts the selected
counters. When the measured activity is complete,
press the Stop button (the Start button toggles
to Stop when pressed). A summary of gathered performance
information is presented. This information includes
the values of the two counters that were enabled,
the number of seconds and cycles that have elapsed,
and a variety of NT-related counters, such as context
switches and page faults.<br>
<br>
Each time you exit <i>CPUMon</i> it remembers the
position of the window and the counters you have
selected. <br>
</td>
</tr>
<tr>
<td colspan="2" valign="middle" height="40"><span class='sectionheader'>Perfmon</span></td>
</tr>
<tr>
<td valign="TOP" colspan="2"><b></b>When you start
<i>CPUMon</i> it automatically registers the processor
performance counters with the built-in Windows NT/2K
performance collection facility. Thus, standard
tools like NT's <i>Perfmon</i> can be used to watch
counter values in real-time. Simply start the desired
performance tool (e.g. <i>Perfmon</i>) and select
the <b>CPUMon</b> object type. <i>CPUMon</i> exposes
both processor performance counters, with instances
for each processor on your system. You can stop
a <i>CPUMon</i> measurement, select new counters,
and restart measurement without starting or stopping
the display of the <i>CPUMon</i> counters in <i>Perfmon</i>.
<br>
<i>CPUMon</i> automatically deregisters the processor
performance counters when you exit it.<font face="arial"></font></td>
</tr>
<tr>
<td valign="middle" colspan="2" height="40"><span class='sectionheader'>Processor
Counters</span> </td>
</tr>
<tr>
<td valign="TOP" colspan="2"><b><font face="arial"><font
color="#0000BF"></font></font></b>The names and descriptions of the Pentium performance
counters were obtained from the <i><a
href="http://developer.intel.com/design/pentiumiii/xeon/manuals/">Intel Architecture
Software Developer's Manual, Volume 3: System Programming
Guide</a></i>, available for free download at the
Intel Web site. Note that the Pentium (P5) has different
counters than the Pentium Pro (P6) and higher Pentiums
(e.g. Pentium II). Certain counters are only available
on processors that have MMX support. <i>CPUMon</i>
will detect MMX support and make these counters
available for selection when appropriate. Also,
some counters are only available as counter 0 or
1, while most can be selected as either counter.
<i>CPUMon</i> correctly displays this information.<br><br>
<br>
</td>
</tr>
<tr>
<td colspan="2" align="CENTER"><b><a href="../../files/cpumon.zip" target="">Download
CPUMon (61KB)</a></b><br>
<br>
<a href="#top"><b>Back to Top</b></a> </td>
</tr>
</table>
</td>
</tr>
</table>
</TD>
</TR>
</TABLE>
<!-- #EndEditable --></td>
</tr>
</table>
</td>
</tr>
</table>
</body>
<!-- #EndTemplate --></html>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -