#include <frame.h>
Collaboration diagram for GltFrameRate:
Public Methods | |
GltFrameRate (const int sampleSize=11) | |
Constructor. | |
~GltFrameRate () | |
Destructor. | |
GltFrameRate & | operator++ () |
Call this once for each redraw. | |
double | elapsedTime () const |
Get the total elapsed time since construction. | |
int | totalFrames () const |
Get the total number of frames. | |
double | frameRate () const |
Get the (averaged) frame rate. | |
double | frameTime () const |
Get the (averaged) time per frame. | |
std::string | summary () const |
Summary frame rate information. | |
std::string | detailed () const |
Detailed fram rate information. |
Definition at line 51 of file frame.h.