grinliz::Performance Class Reference

#include <glperformance.h>

List of all members.


Detailed Description

Used to automatically track performance of blocks of code. Should be used to measure code that is blocked out like this:

	#ifdef L3PERF
	static PerformanceData data( "L3TerrainMesh_Stream" );
	Performance perf( &data );
	#endif
	


Static Public Member Functions

static void Dump (FILE *fp, const char *desc)
 Write the results of performance testing to a file.
static const grinliz::ProfileData & GetData (bool sortOnTime)
 Get the profiling data in a useable format, optionally sorted on total time.
static void Clear ()
 Reset the profiling data.


The documentation for this class was generated from the following file:
Generated on Fri Mar 23 19:36:26 2007 for Lilith3D by  doxygen 1.5.1-p1