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;
2 | No.2 Revision |
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;