Main Page | Namespace List | Class Hierarchy | Alphabetical List | Class List | File List | Namespace Members | Class Members | File Members

Timer Class Reference

Class representing a simple timer. More...

#include <timer.h>

List of all members.

Public Member Functions

 Timer ()
 Constructs a timer initialized to the current time.
void start ()
 Starts the timer.
float stop ()
 Stops the timer and returns the time in seconds since the object was constructed, or since last call to start().

Protected Attributes

std::clock_t mStart
 Start time in ticks.


Detailed Description

Class representing a simple timer.

This class is useful for measuring rendering times etc.


The documentation for this class was generated from the following file:
Generated on Sun Mar 26 19:14:17 2006 for ASR by  doxygen 1.4.4