1<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> 2<html> 3 4<head> 5<META http-equiv="Content-Type" content="text/html; charset=windows-1252"> 6<META name="GENERATOR" content="Microsoft FrontPage 5.0"> 7<META http-equiv="Content-Style-Type" content="text/css"> 8<LINK rel="stylesheet" type="text/css" href="../../CSS/revolution.css"> 9<title>GXClearGPMetric</title> 10</head> 11 12<body> 13 14<h1 align="left">GXClearGPMetric</h1> 15 16<h2>Syntax</h2> 17<dl><dd><pre class="construction"> 18#include <revolution/gx.h> 19 20void GXClearGPMetric( void ); 21 22#define GXClearGP0Metric() GXClearGPMetric() 23#define GXClearGP1Metric() GXClearGPMetric() 24</pre></dd></dl> 25 26<h2>Arguments</h2> 27<p>None.</p> 28 29<h2>Return Values</h2> 30<p>None.</p> 31 32<H2>Description</H2> 33<P>The graphics processor (GP) can count many internal events that give detailed information on performance. This convenient function clears the two virtual GP performance counters to zero. This function resets CPU accessible counters, so it should <strong>not</strong> be used in a display list. The counters' operation is set using the <A href="GXSetGPMetric.html"><CODE>GXSetGPMetric</CODE></A>, <A href="GXSetGPMetric.html"><CODE>GXSetGP0Metric</CODE></A> or <A href="GXSetGPMetric.html"><CODE>GXSetGP1Metric</CODE></A> function. The counter values are read using the <A href="GXReadGPMetric.html"><CODE>GXReadGPMetric</CODE></A>, <A href="GXReadGP0Metric.html"><CODE>GXReadGP0Metric</CODE></A> or <A href="GXReadGP1Metric.html"><CODE>GXReadGP1Metric</CODE></A> function. For more details, consult the manual page for each function.</P> 34 35<h2>See Also</h2> 36<P class="reference"> 37<a href="GXReadMemMetric.html">GXReadMemMetric</a>, 38<a href="GXClearMemMetric.html">GXClearMemMetric</a>, 39<a href="GXReadPixMetric.html">GXReadPixMetric</a>, 40<a href="GXClearPixMetric.html">GXClearPixMetric</a>, 41<a href="GXReadVCacheMetric.html">GXReadVCacheMetric</a>, 42<a href="GXSetVCacheMetric.html">GXSetVCacheMetric</a>, 43<a href="GXClearVCacheMetric.html">GXClearVCacheMetric</a> 44</p> 45 46<H2>Revision History</H2> 47<P> 482006/03/01 Initial version.<br> 49</P> 50 51<hr><p>CONFIDENTIAL</p></body> 52</HTML>