This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

C674x cycle accurate simulator profiling

Hi,

I am using CCSv5.3. Trying to profile some code using C674x cycle accurate simulator. I have the clock enabled and also have activated profiling to do function level profiling.

The code being profiled has file reads/writes. Basically, it reads data from a file, does some processing and writes it back to another file.

At the end of the run, exported all the profiling data.

Did a comparison of the following

1. Cycles elapsed reported by the clock

2. Aggregate of all the function's exclusive count total

I was expecting both to be equal. But, they were off by almost a factor of 2 (clock count was 2x that of the aggregated function profile count).

Can somebody please explain the reason for the difference?

Thanks,

-raja.