📄 pentiumalib.html
字号:
</blockquote><h4>DESCRIPTION</h4><blockquote><p><p>This routine stops only PMC1 (Performance Monitoring Counter 1)by clearing the Performance Event Select Register 1.Note, clearing the Performance Event Select Register 0 stops both counters,PMC0 and PMC1.<p></blockquote><h4>RETURNS</h4><blockquote><p>N/A<p></blockquote><h4>SEE ALSO</h4><blockquote><p><b><a href="./pentiumALib.html#top">pentiumALib</a></b><hr><a name="pentiumP6PmcGet"></a><p align=right><a href="rtnIndex.htm"><i>OS Libraries : Routines</i></a></p></blockquote><h1>pentiumP6PmcGet( )</h1> <blockquote></a></blockquote><h4>NAME</h4><blockquote> <p><strong>pentiumP6PmcGet( )</strong> - get the contents of PMC0 and PMC1</p></blockquote><h4>SYNOPSIS</h4><blockquote><p><pre>void pentiumP6PmcGet (pPmc0, pPmc1) long long int * pPmc0; /* Performance Monitoring Counter 0 */ long long int * pPmc1; /* Performance Monitoring Counter 1 */</pre></blockquote><h4>DESCRIPTION</h4><blockquote><p><p>This routine gets the contents of both PMC0 (Performance Monitoring Counter 0)and PMC1. The first parameter is a pointer of 64Bit variable to storethe content of the Counter 0, and the second parameter is for the Counter 1.<p></blockquote><h4>RETURNS</h4><blockquote><p>N/A<p></blockquote><h4>SEE ALSO</h4><blockquote><p><b><a href="./pentiumALib.html#top">pentiumALib</a></b><hr><a name="pentiumP6PmcGet0"></a><p align=right><a href="rtnIndex.htm"><i>OS Libraries : Routines</i></a></p></blockquote><h1>pentiumP6PmcGet0( )</h1> <blockquote></a></blockquote><h4>NAME</h4><blockquote> <p><strong>pentiumP6PmcGet0( )</strong> - get the contents of PMC0</p></blockquote><h4>SYNOPSIS</h4><blockquote><p><pre>void pentiumP6PmcGet0 (pPmc0) long long int * pPmc0; /* Performance Monitoring Counter 0 */</pre></blockquote><h4>DESCRIPTION</h4><blockquote><p><p>This routine gets the contents of PMC0 (Performance Monitoring Counter 0).The parameter is a pointer of 64Bit variable to store the content ofthe Counter.<p></blockquote><h4>RETURNS</h4><blockquote><p>N/A<p></blockquote><h4>SEE ALSO</h4><blockquote><p><b><a href="./pentiumALib.html#top">pentiumALib</a></b><hr><a name="pentiumP6PmcGet1"></a><p align=right><a href="rtnIndex.htm"><i>OS Libraries : Routines</i></a></p></blockquote><h1>pentiumP6PmcGet1( )</h1> <blockquote></a></blockquote><h4>NAME</h4><blockquote> <p><strong>pentiumP6PmcGet1( )</strong> - get the contents of PMC1</p></blockquote><h4>SYNOPSIS</h4><blockquote><p><pre>void pentiumP6PmcGet1 (pPmc1) long long int * pPmc1; /* Performance Monitoring Counter 1 */</pre></blockquote><h4>DESCRIPTION</h4><blockquote><p><p>This routine gets a content of PMC1 (Performance Monitoring Counter 1).Parameter is a pointer of 64Bit variable to store the content of the Counter.<p></blockquote><h4>RETURNS</h4><blockquote><p>N/A<p></blockquote><h4>SEE ALSO</h4><blockquote><p><b><a href="./pentiumALib.html#top">pentiumALib</a></b><hr><a name="pentiumP6PmcReset"></a><p align=right><a href="rtnIndex.htm"><i>OS Libraries : Routines</i></a></p></blockquote><h1>pentiumP6PmcReset( )</h1> <blockquote></a></blockquote><h4>NAME</h4><blockquote> <p><strong>pentiumP6PmcReset( )</strong> - reset both PMC0 and PMC1</p></blockquote><h4>SYNOPSIS</h4><blockquote><p><pre>void pentiumP6PmcReset (void)</pre></blockquote><h4>DESCRIPTION</h4><blockquote><p><p>This routine resets both PMC0 (Performance Monitoring Counter 0) and PMC1.<p></blockquote><h4>RETURNS</h4><blockquote><p>N/A<p></blockquote><h4>SEE ALSO</h4><blockquote><p><b><a href="./pentiumALib.html#top">pentiumALib</a></b><hr><a name="pentiumP6PmcReset0"></a><p align=right><a href="rtnIndex.htm"><i>OS Libraries : Routines</i></a></p></blockquote><h1>pentiumP6PmcReset0( )</h1> <blockquote></a></blockquote><h4>NAME</h4><blockquote> <p><strong>pentiumP6PmcReset0( )</strong> - reset PMC0</p></blockquote><h4>SYNOPSIS</h4><blockquote><p><pre>void pentiumP6PmcReset0 (void)</pre></blockquote><h4>DESCRIPTION</h4><blockquote><p><p>This routine resets PMC0 (Performance Monitoring Counter 0).<p></blockquote><h4>RETURNS</h4><blockquote><p>N/A<p></blockquote><h4>SEE ALSO</h4><blockquote><p><b><a href="./pentiumALib.html#top">pentiumALib</a></b><hr><a name="pentiumP6PmcReset1"></a><p align=right><a href="rtnIndex.htm"><i>OS Libraries : Routines</i></a></p></blockquote><h1>pentiumP6PmcReset1( )</h1> <blockquote></a></blockquote><h4>NAME</h4><blockquote> <p><strong>pentiumP6PmcReset1( )</strong> - reset PMC1</p></blockquote><h4>SYNOPSIS</h4><blockquote><p><pre>void pentiumP6PmcReset1 (void)</pre></blockquote><h4>DESCRIPTION</h4><blockquote><p><p>This routine resets PMC1 (Performance Monitoring Counter 1).<p></blockquote><h4>RETURNS</h4><blockquote><p>N/A<p></blockquote><h4>SEE ALSO</h4><blockquote><p><b><a href="./pentiumALib.html#top">pentiumALib</a></b><hr><a name="pentiumP5PmcStart0"></a><p align=right><a href="rtnIndex.htm"><i>OS Libraries : Routines</i></a></p></blockquote><h1>pentiumP5PmcStart0( )</h1> <blockquote></a></blockquote><h4>NAME</h4><blockquote> <p><strong>pentiumP5PmcStart0( )</strong> - start PMC0</p></blockquote><h4>SYNOPSIS</h4><blockquote><p><pre>STATUS pentiumP5PmcStart0 (pmc0Cesr) int pmc0Cesr; /* PMC0 control and event select */</pre></blockquote><h4>DESCRIPTION</h4><blockquote><p><p>This routine starts PMC0 (Performance Monitoring Counter 0) by writing specified PMC0 events to Performance Event Select Registers. The only parameter is the content of Performance Event Select Register.<p></blockquote><h4>RETURNS</h4><blockquote><p>OK or ERROR if PMC0 is already started.<p></blockquote><h4>SEE ALSO</h4><blockquote><p><b><a href="./pentiumALib.html#top">pentiumALib</a></b><hr><a name="pentiumP5PmcStart1"></a><p align=right><a href="rtnIndex.htm"><i>OS Libraries : Routines</i></a></p></blockquote><h1>pentiumP5PmcStart1( )</h1> <blockquote></a></blockquote><h4>NAME</h4><blockquote> <p><strong>pentiumP5PmcStart1( )</strong> - start PMC1</p></blockquote><h4>SYNOPSIS</h4><blockquote><p><pre>STATUS pentiumP5PmcStart1 (pmc1Cesr) int pmc1Cesr; /* PMC1 control and event select */</pre></blockquote><h4>DESCRIPTION</h4><blockquote><p><p>This routine starts PMC1 (Performance Monitoring Counter 0) by writing specified PMC1 events to Performance Event Select Registers. The only parameter is the content of Performance Event Select Register.<p></blockquote><h4>RETURNS</h4><blockquote><p>OK or ERROR if PMC1 is already started.<p></blockquote><h4>SEE ALSO</h4><blockquote><p><b><a href="./pentiumALib.html#top">pentiumALib</a></b><hr><a name="pentiumP5PmcStop"></a><p align=right><a href="rtnIndex.htm"><i>OS Libraries : Routines</i></a></p></blockquote><h1>pentiumP5PmcStop( )</h1> <blockquote></a></blockquote><h4>NAME</h4><blockquote> <p><strong>pentiumP5PmcStop( )</strong> - stop both P5 PMC0 and PMC1</p></blockquote><h4>SYNOPSIS</h4><blockquote><p><pre>void pentiumP5PmcStop (void)</pre></blockquote><h4>DESCRIPTION</h4><blockquote><p><p>This routine stops both PMC0 (Performance Monitoring Counter 0)and PMC1 by clearing two Performance Event Select Registers.<p></blockquote><h4>RETURNS</h4><blockquote><p>N/A<p></blockquote><h4>SEE ALSO</h4><blockquote><p><b><a href="./pentiumALib.html#top">pentiumALib</a></b><hr><a name="pentiumP5PmcStop0"></a><p align=right><a href="rtnIndex.htm"><i>OS Libraries : Routines</i></a></p></blockquote><h1>pentiumP5PmcStop0( )</h1> <blockquote></a></blockquote><h4>NAME</h4><blockquote> <p><strong>pentiumP5PmcStop0( )</strong> - stop P5 PMC0</p></blockquote><h4>SYNOPSIS</h4><blockquote><p><pre>void pentiumP5PmcStop0 (void)</pre></blockquote><h4>DESCRIPTION</h4><blockquote><p><p>This routine stops only PMC0 (Performance Monitoring Counter 0)by clearing the PMC0 bits of Control and Event Select Register.<p></blockquote><h4>RETURNS</h4><blockquote><p>N/A<p></blockquote><h4>SEE ALSO</h4><blockquote><p><b><a href="./pentiumALib.html#top">pentiumALib</a></b><hr><a name="pentiumP5PmcStop1"></a><p align=right><a href="rtnIndex.htm"><i>OS Libraries : Routines</i></a></p></blockquote><h1>pentiumP5PmcStop1( )</h1> <blockquote></a></blockquote><h4>NAME</h4><blockquote> <p><strong>pentiumP5PmcStop1( )</strong> - stop P5 PMC1</p></blockquote><h4>SYNOPSIS</h4><blockquote><p><pre>void pentiumP5PmcStop1 (void)</pre></blockquote><h4>DESCRIPTION</h4><blockquote><p><p>This routine stops only PMC1 (Performance Monitoring Counter 1)by clearing the PMC1 bits of Control and Event Select Register.<p></blockquote><h4>RETURNS</h4><blockquote><p>N/A<p></blockquote><h4>SEE ALSO</h4><blockquote><p><b><a href="./pentiumALib.html#top">pentiumALib</a></b><hr><a name="pentiumP5PmcGet"></a><p align=right><a href="rtnIndex.htm"><i>OS Libraries : Routines</i></a></p></blockquote><h1>pentiumP5PmcGet( )</h1> <blockquote></a></blockquote><h4>NAME</h4><blockquote> <p><strong>pentiumP5PmcGet( )</strong> - get the contents of P5 PMC0 and PMC1</p></blockquote><h4>SYNOPSIS</h4><blockquote><p><pre>void pentiumP5PmcGet (pPmc0, pPmc1) long long int * pPmc0; /* Performance Monitoring Counter 0 */ long long int * pPmc1; /* Performance Monitoring Counter 1 */</pre></blockquote><h4>DESCRIPTION</h4><blockquote><p><p>This routine gets the contents of both PMC0 (Performance Monitoring Counter 0)and PMC1. The first parameter is a pointer of 64Bit variable to storethe content of the Counter 0, and the second parameter is for the Counter 1.<p></blockquote><h4>RETURNS</h4><blockquote><p>N/A<p></blockquote><h4>SEE ALSO</h4><blockquote><p><b><a href="./pentiumALib.html#top">pentiumALib</a></b><hr><a name="pentiumP5PmcGet0"></a><p align=right><a href="rtnIndex.htm"><i>OS Libraries : Routines</i></a></p></blockquote><h1>pentiumP5PmcGet0( )</h1> <blockquote></a></blockquote><h4>NAME</h4><blockquote> <p><strong>pentiumP5PmcGet0( )</strong> - get the contents of P5 PMC0</p></blockquote><h4>SYNOPSIS</h4><blockquote><p><pre>void pentiumP5PmcGet0 (pPmc0) long long int * pPmc0; /* Performance Monitoring Counter 0 */</pre></blockquote><h4>DESCRIPTION</h4><blockquote><p><p>This routine gets the contents of PMC0 (Performance Monitoring Counter 0).The parameter is a pointer of 64Bit variable to store the content ofthe Counter.<p></blockquote><h4>RETURNS</h4><blockquote><p>N/A<p></blockquote><h4>SEE ALSO</h4><blockquote><p><b><a href="./pentiumALib.html#top">pentiumALib</a></b>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -