#include <glperformance.h>
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. | |
Should be used to measure code that is blocked out like this:
#ifdef L3PERF static GlPerformanceData data( "L3TerrainMesh_Stream" ); GlPerformance perf( &data ); #endif
1.4.3