pentiumalib.html

来自「Vxworks API操作系统和驱动程序设计API。压缩的HTML文件」· HTML 代码 · 共 1,010 行 · 第 1/3 页

HTML
1,010
字号
</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(&nbsp;)</h1> <blockquote></a></blockquote><h4>NAME</h4><blockquote>  <p><strong>pentiumP6PmcGet(&nbsp;)</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(&nbsp;)</h1> <blockquote></a></blockquote><h4>NAME</h4><blockquote>  <p><strong>pentiumP6PmcGet0(&nbsp;)</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(&nbsp;)</h1> <blockquote></a></blockquote><h4>NAME</h4><blockquote>  <p><strong>pentiumP6PmcGet1(&nbsp;)</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(&nbsp;)</h1> <blockquote></a></blockquote><h4>NAME</h4><blockquote>  <p><strong>pentiumP6PmcReset(&nbsp;)</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(&nbsp;)</h1> <blockquote></a></blockquote><h4>NAME</h4><blockquote>  <p><strong>pentiumP6PmcReset0(&nbsp;)</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(&nbsp;)</h1> <blockquote></a></blockquote><h4>NAME</h4><blockquote>  <p><strong>pentiumP6PmcReset1(&nbsp;)</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(&nbsp;)</h1> <blockquote></a></blockquote><h4>NAME</h4><blockquote>  <p><strong>pentiumP5PmcStart0(&nbsp;)</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(&nbsp;)</h1> <blockquote></a></blockquote><h4>NAME</h4><blockquote>  <p><strong>pentiumP5PmcStart1(&nbsp;)</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(&nbsp;)</h1> <blockquote></a></blockquote><h4>NAME</h4><blockquote>  <p><strong>pentiumP5PmcStop(&nbsp;)</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(&nbsp;)</h1> <blockquote></a></blockquote><h4>NAME</h4><blockquote>  <p><strong>pentiumP5PmcStop0(&nbsp;)</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(&nbsp;)</h1> <blockquote></a></blockquote><h4>NAME</h4><blockquote>  <p><strong>pentiumP5PmcStop1(&nbsp;)</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(&nbsp;)</h1> <blockquote></a></blockquote><h4>NAME</h4><blockquote>  <p><strong>pentiumP5PmcGet(&nbsp;)</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(&nbsp;)</h1> <blockquote></a></blockquote><h4>NAME</h4><blockquote>  <p><strong>pentiumP5PmcGet0(&nbsp;)</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 + =
减小字号Ctrl + -
显示快捷键?