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
double stop()
stop chrono
Definition: Chrono.cpp:117
double startValue
Definition: Chrono.h:73
double stopValue
Definition: Chrono.h:74
void reset()
reset to zero
Definition: Chrono.cpp:135
void hold(bool)
pause the chrono if the parameter is true
Definition: Chrono.cpp:123
friend std::ostream & operator<<(std::ostream &, const Chrono)
print the value of the chrono on the stream
Definition: Chrono.cpp:164
void start()
start at zero
Definition: Chrono.cpp:104
Chrono()
default constructor
Definition: Chrono.cpp:89
double getTimeInMilliseconds() const
in milliseconds
Definition: Chrono.cpp:151
bool running
Definition: Chrono.h:75