#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. | |
| static const grinliz::ProfileData & | GetSortedData () |
| Sort the data on total time. | |
Should be used to measure code that is blocked out like this:
#ifdef L3PERF static PerformanceData data( "L3TerrainMesh_Stream" ); Performance perf( &data ); #endif
1.4.7