Main Page   Modules   Class Hierarchy   Compound List   File List   Compound Members   File Members   Related Pages   Examples  

GltFrameRate Class Reference

OpenGL Frame Rate Information Class. More...

#include <frame.h>

Collaboration diagram for GltFrameRate:

Collaboration graph
List of all members.

Public Methods

 GltFrameRate (const int sampleSize=11)

 ~GltFrameRate ()

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.

Detailed Description

OpenGL Frame Rate Information Class.

Definition at line 51 of file frame.h.

The documentation for this class was generated from the following files:
Generated on Tue Nov 5 11:11:43 2002 for GLT by doxygen1.2.18