I got the code below from this link http://stackoverflow.com/questions/13009951/how-to-use-ipp7-1-opencv-2-4-1
int NumUploadedFunction = cvUseOptimized(1);
t1 = (double)cvGetTickCount();
for (int j=0;j<LOOP;j++)
cvMatchTemplate(image_ncc, template_image, result_ncc, CV_TM_CCORR_NORMED);
t2 = (double)cvGetTickCount();
timeCalc=(t2-t1)/((double)cvGetTickFrequency()*1000. * 1000.0);
cout << " OpenCV matchtemplate using cross-correlation
Valid: " << timeCalc << endl;
I looked around on google for answers but couldnt find any ...If someone could post a link where i could learn of this loop function or is it just a variable that the person asking the question neglected to add.