#include <timer.h>
Public Member Functions | |
StartStopTimer () | |
void | start () |
void | stop () |
void | reset () |
Public Attributes | |
double | value |
A start-stop timer class.
Can be used to time portions of code.
cvflann::StartStopTimer::StartStopTimer | ( | ) |
Constructor.
void cvflann::StartStopTimer::start | ( | ) |
Starts the timer.
void cvflann::StartStopTimer::stop | ( | ) |
Stops the timer and updates timer value.
void cvflann::StartStopTimer::reset | ( | ) |
Resets the timer value to 0.
Value of the timer.