Function opencv::core::get_tick_frequency
source · Expand description
Returns the number of ticks per second.
The function returns the number of ticks per second. That is, the following code computes the execution time in seconds:
ⓘ
double t = (double)getTickCount();
// do something ...
t = ((double)getTickCount() - t)/getTickFrequency();
See also
getTickCount, TickMeter