#include <timeUtilities.h>
Public Member Functions | |
| Timer () | |
| This constructor initializes the timer and starts timing. | |
| ~Timer () | |
| Destructor. | |
| double | getElapsedTime () |
| The function calculates and returns the time since the last reset (or since the timer was created). | |
| double | reset () |
| This function behaves just like getElapsedTime(), but also resets the timer to zero. | |
Definition at line 45 of file timeUtilities.h.
| dlr::utilities::Timer::Timer | ( | ) | [inline] |
This constructor initializes the timer and starts timing.
| timeUnit | This argument |
Definition at line 53 of file timeUtilities.h.
References reset().
| dlr::utilities::Timer::~Timer | ( | ) | [inline] |
| double dlr::utilities::Timer::getElapsedTime | ( | ) | [inline] |
The function calculates and returns the time since the last reset (or since the timer was created).
Definition at line 70 of file timeUtilities.h.
| double dlr::utilities::Timer::reset | ( | ) | [inline] |
This function behaves just like getElapsedTime(), but also resets the timer to zero.
Definition at line 80 of file timeUtilities.h.
Referenced by Timer().
1.5.8