Ask Your Question

Revision history [back]

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.