Clock Class Reference

A cross-platform clock class inspired by the Timer classes in Ogre (http://www.ogre3d.org). More...

#include <quickprof.h>

List of all members.

Public Member Functions

 Clock ()
 ~Clock ()
void reset ()
 Resets the initial reference time.
unsigned long long int getTimeMicroseconds ()
 Returns the time in us since the last call to reset or since the Clock was created.


Detailed Description

A cross-platform clock class inspired by the Timer classes in Ogre (http://www.ogre3d.org).


Constructor & Destructor Documentation

Clock (  )  [inline]

~Clock (  )  [inline]


Member Function Documentation

unsigned long long int getTimeMicroseconds (  )  [inline]

Returns the time in us since the last call to reset or since the Clock was created.

Returns:
The requested time in microseconds. Assuming 64-bit integers are available, the return value is valid for 2^63 clock cycles (over 104 years w/ clock frequency 2.8 GHz).

void reset (  )  [inline]

Resets the initial reference time.


The documentation for this class was generated from the following file:
Generated on Fri Oct 30 16:29:04 2009 for Robot Simulator of the Robotics Group for Self-Organization of Control by  doxygen 1.4.7