
Technical discussions about the TI C55x DSPs (including the c5501, c5502, c5503, c5507, c5509, c5510 and OMAP5910).
|
Hi All, I trying to profile the code on actual target ie using xds560 emulator on 5510 target. Below please found simple piece of code that I am profiling for example. The total clock cyles shown in case using single stepping comes out to be 300 clocks. whenever (inc =100)I guess it should be like that only. However on using free run command . The inc variable value reach value 0 to 100 in around 1200 clock cycles. That is quite not understandable. I am using CCS 2.2 in the setup. Is that some soft debugger running in background is taking up the clock cycles. I did mention the same problem to TI. But are taking time in responding. I will appreciate in case any of you guys have profile the results & get away with the problem. Regards gagan long idleIterations; short inc; main() { while (1) { inc++; if(inc==100) { idleIterations++; inc=0; } } } __________________________________ |