I am running CCS 5.3 using the code generation tools v.7.4.1 with a TMDSEVMC6678LE Evaluation Board. I would like to know what the best function is for measuring the run time in (sec, msec, usec... doesn't matter). I have used
omp_get_wtime();
In the omp.h library but the value it gives when doing something like
start = omp_get_wtime();
... code...
end = omp_get_wtime();
std::cout<<"Time: " << (end - start) << "\n";
I can't make heads or tales of what the out put of (end-start) is. My best guess is clock cycles at this point, but I know under MSVSC++ the same omp time command gives seconds, but it definitely is not giving seconds on the c6678 proc. Any suggestions? What is the omp command giving and what are maybe other (better) options to get code segment execution time?
Thank you,
Aaron