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.

Profiling using Clock_getTicks()



Hi,

I am running C66xx simulator on CCS v5 windows system.

I am trying to calculate the time taken by a particular part of a function.

1)Configured the CCS simulator as c6618 Device cycle approximate simulator

2) Put Clock_getTicks() before and after the function call which is running in a single core.

3) Got a different of 27 ticks between above two calls to Clock_getTicks().

My question is can I convert these 27 ticks to time by following calculation.

1) TMS320C66xx is 1.2 Ghz i.e. 1.2 * 10^9 ticks /second

2) So 27 ticks will take = 27/(1.2 * 10^9) seconds or 22.5 nano sec.

Please let me know if above assumption is correct or not?

Also I did try running Function profiler for the same. But the profiler setup window is not fiving any option or check boxes.

Regards

Soumya