Timer class for time measurements.
Public Member Functions | |
CTimer () | |
Default constructor. More... | |
CTimer (bool bStart) | |
Constructor with possibility to start the timer immediately. More... | |
~CTimer () | |
Destructor. More... | |
double | ElapsedMilliseconds () |
Gets the elapsed time in milliseconds since CTimer::Start has been called. More... | |
void | Start () |
Starts this timer. This resets the starting time. More... | |
Rx::CTimer::CTimer | ( | ) |
Default constructor.
Rx::CTimer::CTimer | ( | bool | bStart | ) |
Constructor with possibility to start the timer immediately.
bStart | If true, start the timer immediately. If false, call CTimer::Start to start the timer manually. |
Rx::CTimer::~CTimer | ( | ) |
Destructor.
double Rx::CTimer::ElapsedMilliseconds | ( | ) |
Gets the elapsed time in milliseconds since CTimer::Start has been called.
void Rx::CTimer::Start | ( | ) |
Starts this timer. This resets the starting time.