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 want to assess some part of my code by counting number of clock cycles it takes to run. I found profile clock in CCS which does exactly what I want. However I can't enable profile clock as it is written in the wiki. The option is present in Run/Clock/Enable (Only in Debug perspective) but it is always disabled whether i'm in the middle of a debug session or not. I'm using CCS 7 which is different from the link.
Can someone help me with this issue? Or is there a better tool hat I can use for my purpose?
Ernest,
The profile clock is available on some devices but for CortexM based devices like CC2650 you will need to use something else called a count event.
software-dl.ti.com/.../ccsv7_counting_cycles.html
Regards,
John