Robot Simulator of the Robotics Group for Self-Organization of Control  0.8.0
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Clock Class Reference

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

#include <quickprof.h>

Public Member Functions

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

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: