[][src]Function opencv::core::get_tick_frequency

pub fn get_tick_frequency() -> Result<f64>

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