27 #ifndef TOOLS_CHRONO_H 28 #define TOOLS_CHRONO_H 82 #endif // TOOLS_CHRONO_H Elapsed real-time timer.
Definition: Chrono.h:40
double accumulatedTime
Definition: Chrono.h:76
~Chrono()
Definition: Chrono.cpp:103
double stop()
stop chrono
Definition: Chrono.cpp:119
double startValue
Definition: Chrono.h:73
double stopValue
Definition: Chrono.h:74
void reset()
reset to zero
Definition: Chrono.cpp:136
void hold(bool)
pause the chrono if the parameter is true
Definition: Chrono.cpp:125
friend std::ostream & operator<<(std::ostream &, const Chrono)
print the value of the chrono on the stream
Definition: Chrono.cpp:163
void start()
start at zero
Definition: Chrono.cpp:106
Chrono()
default constructor
Definition: Chrono.cpp:89
double getTimeInMilliseconds() const
in milliseconds
Definition: Chrono.cpp:150
bool running
Definition: Chrono.h:75