class cvflann::StartStopTimer
Overview
A start-stop timer class. Moreā¦
#include <timer.h> class StartStopTimer { public: // fields double value; // methods void reset(); void start(); void stop(); };
Detailed Documentation
A start-stop timer class.
Can be used to time portions of code.
Fields
double value
Value of the timer.
Methods
void reset()
Resets the timer value to 0.
void start()
Starts the timer.
void stop()
Stops the timer and updates timer value.