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 () |
| Producer::PipeTimer::PipeTimer | ( | ) |
| virtual Producer::PipeTimer::~PipeTimer | ( | ) | [inline, protected, virtual] |
| static PipeTimer* Producer::PipeTimer::instance | ( | ) | [inline, static] |
| void Producer::PipeTimer::setReturnType | ( | ReturnType | r | ) |
| ReturnType Producer::PipeTimer::getReturnType | ( | ) |
| GLuint Producer::PipeTimer::genQuery | ( | ) |
| void Producer::PipeTimer::deleteQuery | ( | GLuint * | ) |
| void Producer::PipeTimer::genQueries | ( | unsigned int | n, | |
| GLuint * | ||||
| ) |
| void Producer::PipeTimer::deleteQueries | ( | unsigned int | n, | |
| GLuint * | ||||
| ) |
| void Producer::PipeTimer::begin | ( | GLuint | query | ) |
| void Producer::PipeTimer::end | ( | ) |
| double Producer::PipeTimer::getElapsedTime | ( | GLuint | query | ) |
| double Producer::PipeTimer::getElapsedTime | ( | GLuint | query, | |
| double & | waitTime | |||
| ) |
PipeTimer* Producer::PipeTimer::_thePipeTimer [static] |
1.5.2