Hello,
I am using TMS320C6670 EVM and CCS 5. I need to determine the execution time of program, so I use function clock() before and after the program lines which I want to measure the execution time and calculate the result. The simple diagram is as follow
#include <time.h>
int t1,t2,t;
t1=clock();
////Line of programs
t2=clock();
t=t2-t1;
Well, by enabling the clock profiling in Run --> Clock after launch the EVM and before connecting the core (because I get different setup if I enable clock after connecting the core) , I can get the number of cycles of the program. So my questions are
1. What is the frequency of the 6670 EVM? How to determine it? Is it different between each core?
2. Will the EVM frequency be different if I load the gel file before I run the program?
3. Does the clock cycle result supposed to be the same if I use gel file compared to don't use it?
Can somebody help me please? I'll appreciate for some help.
Thank you