pub fn get_tick_frequency() -> Result<f64>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