A start-stop timer class. More...
#include <opencv2/flann/timer.h>

Public Member Functions | |
| StartStopTimer () | |
| Constructor. More... | |
| void | reset () |
| Resets the timer value to 0. More... | |
| void | start () |
| Starts the timer. More... | |
| void | stop () |
| Stops the timer and updates timer value. More... | |
Public Attributes | |
| double | value |
| Value of the timer. More... | |
A start-stop timer class.
Can be used to time portions of code.
|
inline |
|
inline |
Resets the timer value to 0.
Referenced by StartStopTimer().

|
inline |
Starts the timer.
References cv::getTickCount().
Referenced by cvflann::AutotunedIndex< Distance >::getType(), and cvflann::search_with_ground_truth().


|
inline |
Stops the timer and updates timer value.
References cv::getTickCount(), and cv::getTickFrequency().
Referenced by cvflann::AutotunedIndex< Distance >::getType(), and cvflann::search_with_ground_truth().


| double cvflann::StartStopTimer::value |
Value of the timer.
Referenced by cvflann::AutotunedIndex< Distance >::getType(), and cvflann::search_with_ground_truth().