MeVisLabToolboxReference
|
#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 |
MLTimer::MLTimer | ( | ) |
MLTimer::~MLTimer | ( | ) |
long double MLTimer::consumed | ( | ) | const [inline] |
long double MLTimer::elapsed | ( | ) | const [inline] |
void MLTimer::start | ( | ) | [inline] |
Definition at line 61 of file mlTimer.h.
References ML_PRINT_ERROR.
void MLTimer::start | ( | MLTimer & | otherToPause | ) | [inline] |
The other timer is paused and this timer started.
Definition at line 111 of file mlTimer.h.
References ML_PRINT_ERROR.
void MLTimer::stop | ( | ) | [inline] |
Definition at line 76 of file mlTimer.h.
References ML_PRINT_ERROR.
void MLTimer::stop | ( | MLTimer & | otherToResume | ) | [inline] |
The other timer is resumed and this timer stopped.
Definition at line 87 of file mlTimer.h.
References ML_PRINT_ERROR.
friend class MLCallGraphNode [friend] |
friend class MLTimeProfile [friend] |