Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

i'm using opencv's timing functions for that:

int64 t0 = cv::getTickCount();
// do something
int64 t1 = cv::getTickCount();
doubles seconds = double( t0 - t1 ) / cv::getTickFrequency();
cerr << "took : " << seconds << endl;

i'm using opencv's timing functions for that:

int64 t0 = cv::getTickCount();
// do something
int64 t1 = cv::getTickCount();
doubles seconds = double( t1 - t0 - t1 ) / cv::getTickFrequency();
cerr << "took : " << seconds << endl;