Main Page | Class Hierarchy | Class List | Directories | File List | Class Members | Related Pages

grinliz::Performance Class Reference

Used to automatically track performance of blocks of code. More...

#include <glperformance.h>

List of all members.

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 ()
 Get the profiling data is a useable format.
static void Clear ()
 Reset the profiling data.


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 GlPerformanceData data( "L3TerrainMesh_Stream" );
	GlPerformance perf( &data );
	#endif
	


The documentation for this class was generated from the following file:
Generated on Sun Sep 25 16:25:50 2005 for Kyra by  doxygen 1.4.3