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