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 17<h2>C Specification</h2> 18 19<dl> 20 <dd><PRE><CODE>#include <revolution/gx.h></CODE></PRE> 21 </dd> 22 <dd><pre><CODE>void GXClearGPMetric( void ); 23 24#define GXClearGP0Metric() GXClearGPMetric() 25#define GXClearGP1Metric() GXClearGPMetric()</CODE></pre> 26 </dd> 27</dl> 28 29<h2>Arguments</h2> 30 31<p>None.</p> 32 33<h2>Return Values</h2> 34 35<p>None.</p> 36<H2>Description</H2> 37<P>The Graphics Processor (GP) can count many internal events that give detailed information on performance. This convenience 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 counter's function is set using <code><a href="GXSetGPMetric.html">GXSetGPMetric</a>, <a href="GXSetGPMetric.html">GXSetGP0Metric</a></code> or <a href="GXSetGPMetric.html"><code>GXSetGP1Metric</code></a>. The counter's value is read using <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>. for more details.</P> 38 39 40 41 42<h2>See Also</h2> 43 44<p><a href="GXReadMemMetric.html">GXReadMemMetric</a><br> <a href="GXClearMemMetric.html">GXClearMemMetric</a><br> <a href="GXReadPixMetric.html">GXReadPixMetric</a><br> <a href="GXClearPixMetric.html">GXClearPixMetric</a><br> <a href="GXReadVCacheMetric.html">GXReadVCacheMetric</a><br> <a href="GXSetVCacheMetric.html">GXSetVCacheMetric</a><br> <a href="GXClearVCacheMetric.html">GXClearVCacheMetric</a></p> 45<H2>Revision History</H2> 46<P>2006/03/01 Initial version</P>