a Class to measure passing time.
More...
#include "utility.hpp"
a Class to measure passing time.
The class computes passing time by counting the number of ticks per second. That is, the following code computes the execution time in seconds:
tm.start();
tm.stop();
std::cout << tm.getTimeSec();
- See also
- getTickCount, getTickFrequency
§ TickMeter()
cv::TickMeter::TickMeter |
( |
| ) |
|
|
inline |
§ getCounter()
int64 cv::TickMeter::getCounter |
( |
| ) |
const |
|
inline |
returns internal counter value.
§ getTimeMicro()
double cv::TickMeter::getTimeMicro |
( |
| ) |
const |
|
inline |
returns passed time in microseconds.
§ getTimeMilli()
double cv::TickMeter::getTimeMilli |
( |
| ) |
const |
|
inline |
returns passed time in milliseconds.
§ getTimeSec()
double cv::TickMeter::getTimeSec |
( |
| ) |
const |
|
inline |
returns passed time in seconds.
§ getTimeTicks()
int64 cv::TickMeter::getTimeTicks |
( |
| ) |
const |
|
inline |
§ reset()
void cv::TickMeter::reset |
( |
| ) |
|
|
inline |
§ start()
void cv::TickMeter::start |
( |
| ) |
|
|
inline |
§ stop()
void cv::TickMeter::stop |
( |
| ) |
|
|
inline |
The documentation for this class was generated from the following file: