OpenCV: cvflann::StartStopTimer Class Reference

| OpenCV 3.4.2 Open Source Computer Vision

Public Member Functions | Public Attributes | List of all members
cvflann::StartStopTimer Class Reference

`#include "timer.h"`

## Public Member Functions
| StartStopTimer ()
void | reset ()
void | start ()
void | stop ()

## Public Attributes
double | value

## Detailed Description

A start-stop timer class.

Can be used to time portions of code.

## Constructor & Destructor Documentation

## ◆ StartStopTimer()

cvflann::StartStopTimer::StartStopTimer | ( |  | ) |
| inline

Constructor.

## Member Function Documentation

## ◆ reset()

void cvflann::StartStopTimer::reset | ( |  | ) |
| inline

Resets the timer value to 0.

## ◆ start()

void cvflann::StartStopTimer::start | ( |  | ) |
| inline

Starts the timer.

## ◆ stop()

void cvflann::StartStopTimer::stop | ( |  | ) |
| inline

Stops the timer and updates timer value.

## Member Data Documentation

## ◆ value

double cvflann::StartStopTimer::value

Value of the timer.

The documentation for this class was generated from the following file:

- flann/include/opencv2/flann/timer.h