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.
Tool/software: Code Composer Studio
Hi
I am using the scripting console in DSS and I would like to programmatically find the number of clock cycles between two breakpoints. I believe the methods in the ProfileClock/Memory would help me. However, in the console, it says the methods are not available. I tried a bunch of commands below. Please help.
Shantanu
Shantanu Sampath63 said:Is this valid across all platforms? Eg. ARM, C2000, etc?
Via scripting console, see the example below:
The first line enables the profile clock
The second line runs the target to a breakpoint I set earlier
The third line reads the profile clock and returns the cycle count from the time I ran the target to when it hit the breakpoint (1926 cycles)
Thanks
ki