Hello,
i hope somebody can help me understanding the results of the CCS4 Profiler.
After writing some code i wanted to know what the execution time of a code fragment is, so i started up the profiler. I found the "cycle.cpu" report and started to optimize my code.
Some optimizations later i tried the code inside the target hardware. Since profiling is not possible inside the target i used a timer to calculate the time.
I do know that the simulator can´t handle cache effects.
The result was frustrating.
Simulator - "cycle.cpu" - 31.500 Cycles
Target HW - 804.136 Cycles (CNT0 Register says 0x3114A -> 201034 * 4 = which means 804136. The timer has a clock-ratio 1:4)
This can not result by a cache effect since the DSP i am using has only a L2-Instr-Cache which is disabled since the code fits into the internal SRAM.
is the result of the profiler wrong or what else can be the reason?
should i post my question in the c6000-single core forum?
kind regards
Bernhard