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 clock rate



Hello,

I am trying to read the profiling clock to do some functions profilling using DSS scripting. I used to do the following:

1) Enable the clock  using clock.enable().

2) put a break point at the start of the function.

3) read the clock value using clock.read().

4) step out

5) read the clock value again and get the difference from the previous read.

The returned value represents the number of cpu cycles. I want to convert it to a  time in seconds using the following equation ( time in sec= cpu cycles / frequency). The question is, How can I get the frequency used by the profiling clock ? Does it the same frequency of the core or it is a simulator one?

P.S. I am using ccsv5.4 Beta/

Kindest Regards