#include <mlTimer.h>
Public Member Functions | |
| MLTimer () | |
| ~MLTimer () | |
| void | start () |
| void | stop () |
| void | start (MLTimer &otherToPause) |
| The other timer is paused and this timer started. | |
| void | stop (MLTimer &otherToResume) |
| The other timer is resumed and this timer stopped. | |
| long double | elapsed () const |
| Returns the elapsed time in seconds between start() and stop() calls. | |
| long double | consumed () const |
| Returns the elapsed time minus the time between pause() and resume() calls in seconds. | |
| unsigned int | startCount () const |
Friends | |
| class | MLTimeProfile |
| class | MLCallGraphNode |
Definition at line 22 of file mlTimer.h.
| MLTimer::MLTimer | ( | ) |
| MLTimer::~MLTimer | ( | ) |
| long double MLTimer::consumed | ( | ) | const [inline] |
| long double MLTimer::elapsed | ( | ) | const [inline] |
| void MLTimer::start | ( | MLTimer & | otherToPause | ) | [inline] |
The other timer is paused and this timer started.
Definition at line 111 of file mlTimer.h.
References _isActive, _isPaused, _pausedStartTime, and ML_PRINT_ERROR.
| void MLTimer::start | ( | ) | [inline] |
| void MLTimer::stop | ( | MLTimer & | otherToResume | ) | [inline] |
The other timer is resumed and this timer stopped.
Definition at line 87 of file mlTimer.h.
References _isActive, _isPaused, _pausedElapsed, _pausedStartTime, and ML_PRINT_ERROR.
| void MLTimer::stop | ( | ) | [inline] |
friend class MLCallGraphNode [friend] |
friend class MLTimeProfile [friend] |
1.5.8