GlobeEngine
ge::Timer Class Reference

#include <Timer.h>

Public Member Functions

 Timer ()
 
 ~Timer ()
 
void clear ()
 
void create (bool _showAsFPS=false)
 
void start ()
 
void start (std::string _inTitle)
 
void stop ()
 
void stop (std::string _outTitle)
 
void stopAndRestart (std::string _outTitle)
 
double getElapsedTime ()
 
bool isRunning ()
 
void startGPUClock ()
 
void stopGPUClock ()
 
GLint64 stopAndShowGPUClock (std::string _outTitle="")
 
void startSingleAsynchronousQuery ()
 
void stopSingleAsynchronousQuery ()
 
GLint64 getSingleAsynchronousQueryResult ()
 
GLuint64 getResult (int _id)
 
const GLuint64 * getAllResults (int _id)
 
int getQueryCount ()
 
void generateTimerQuery (int _count)
 
void setTimestampForQuery (int _id)
 

Constructor & Destructor Documentation

ge::Timer::Timer ( )
ge::Timer::~Timer ( )

Member Function Documentation

void ge::Timer::clear ( )
void ge::Timer::create ( bool  _showAsFPS = false)
void ge::Timer::generateTimerQuery ( int  _count)
const GLuint64 * ge::Timer::getAllResults ( int  _id)
double ge::Timer::getElapsedTime ( )
int ge::Timer::getQueryCount ( )
GLuint64 ge::Timer::getResult ( int  _id)
GLint64 ge::Timer::getSingleAsynchronousQueryResult ( )
bool ge::Timer::isRunning ( )
void ge::Timer::setTimestampForQuery ( int  _id)
void ge::Timer::start ( )
void ge::Timer::start ( std::string  _inTitle)
void ge::Timer::startGPUClock ( )
void ge::Timer::startSingleAsynchronousQuery ( )
void ge::Timer::stop ( )
void ge::Timer::stop ( std::string  _outTitle)
void ge::Timer::stopAndRestart ( std::string  _outTitle)
GLint64 ge::Timer::stopAndShowGPUClock ( std::string  _outTitle = "")
void ge::Timer::stopGPUClock ( )
void ge::Timer::stopSingleAsynchronousQuery ( )

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