3 #ifndef __BENCHTIMER_H__
4 #define __BENCHTIMER_H__
23 { t0 = epicsTime::getCurrent(); }
28 t1 = epicsTime::getCurrent();
double stop()
Stop the timer, returns the seconds of runtime.
Definition: BenchTimer.h:26
Start/stop type of timer.
Definition: BenchTimer.h:14
BenchTimer()
Constructor, also invokes start().
Definition: BenchTimer.h:18
void start()
Start or re-start the timer.
Definition: BenchTimer.h:22
double runtime()
Runtime of the last start...stop cycle.
Definition: BenchTimer.h:33
std::string toString()
Printable representation of runtime().