![]() |
- 3.0.2 core module.
|
A timer ("stop watch") to record elapsed time based on the system clock. More...
#include <Timer.h>
Public Member Functions | |
Timer () | |
Default constructor. More... | |
void | start () |
Trigger start. More... | |
void | stop () |
Trigger stop. More... | |
SCALAR | getElapsedTime () const |
Get the elapsed time between calls to start() and stop() More... | |
void | reset () |
Resets the clock. More... | |
A timer ("stop watch") to record elapsed time based on the system clock.
Keeps track of time in a stop watch fashion.
|
inline |
Default constructor.
References ct::core::tpl::Timer< SCALAR >::reset().
|
inline |
|
inline |
|
inline |
|
inline |
Resets the clock.
Not needed to be called after start()/stop() calls.
Referenced by TEST(), and ct::core::tpl::Timer< SCALAR >::Timer().