A platform independent timer class that allows to measure the time passed since its construction or the last measuring point. More...
#include "Util.hpp"
Public Member Functions | |
TimerT () | |
The constructor. It initializes the timer. More... | |
double | GetSecondsSinceLastCall () |
This function returns the time elapsed since the function was last called. More... | |
double | GetSecondsSinceCtor () const |
This function returns the time elapsed since the timer was constructed. More... | |
A platform independent timer class that allows to measure the time passed since its construction or the last measuring point.
TimerT::TimerT | ( | ) |
The constructor. It initializes the timer.
double TimerT::GetSecondsSinceCtor | ( | ) | const |
This function returns the time elapsed since the timer was constructed.
The return value is the elapsed time in seconds.
double TimerT::GetSecondsSinceLastCall | ( | ) |
This function returns the time elapsed since the function was last called.
The return value is the elapsed time in seconds. The very first call of this function returns always 0.