why TickMeter class only used in the gpu samples
double t = (double)getTickCount();
// code you want to measure the performance
t = ((double)getTickCount() - t)/getTickFrequency();
cout << "times passed in seconds: " << t << endl;
I am using the above code to measure performans.
recently i saw TickMeter class used in the gpu samples.
i wonder why that a useful class not available. is there any reason not to merge it to OpenCV core.
@sturkmen did you figure out anything about that, because actually I think that TickMeter used to be in one of the previous version of OpenCV library 2.x but for some reason it has been removed from the new version.
There is a pull request and you can download opencv from git and you will have TickMeter class outside GPU.
Thanks @theodore
however, we did not get any answer yet from the developers about the reason of removing it from the current version of OpenCV.