|
Hi all, I\'m trying to instrument my code to determine execution times, However i\'m having problems with CLK_gethtime(),CLK_getltime(). I\'m working with a C6713 board and CCS 3. Basically, what i\'m doing is : start=CLK_gethtime(); // my code .... stop=CLK_gethtime(); time=stop-start; I\'m always getting zero regardless of the time my code takes to execute and the values of the period register ... going into more detail i\'ve found out that when I use CLK_gethtime () i get the same value and when i use CLK_getltime() i always get zero. I cannot use CCS profiling tools as I have to automate this instrumentation in many programs. If someone has experience with instrumenting/benchmarking the code I will very much appreciate any help. Kind regards, Edwin |