Public Types | |
enum | ReturnType { nanoseconds, microseconds, milliseconds, seconds } |
Public Member Functions | |
PipeTimer () | |
void | setReturnType (ReturnType r) |
ReturnType | getReturnType () |
GLuint | genQuery () |
void | deleteQuery (GLuint *) |
void | genQueries (unsigned int n, GLuint *) |
void | deleteQueries (unsigned int n, GLuint *) |
void | begin (GLuint query) |
void | end () |
double | getElapsedTime (GLuint query) |
double | getElapsedTime (GLuint query, double &waitTime) |
Static Public Member Functions | |
static PipeTimer * | instance () |
Static Public Attributes | |
static PipeTimer * | _thePipeTimer |
Protected Member Functions | |
virtual | ~PipeTimer () |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|