- Main Page
- Classes
- Files
- Directories
- Related Pages

- Class List
- Class Hierarchy
- Class Members

# 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.
static const grinliz::ProfileData & | GetSortedData ()
| Sort the data on total time.

## 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

The documentation for this class was generated from the following file:

- glperformance.h