In CCS3.3 there was a function to measure the number of clock cycles between two breakpoints (Profile ==> Clock ==> Enable, Profile ==> Clock ==> View).
How do I perform this task under CCS4.1?
Thank You.
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.
In CCS3.3 there was a function to measure the number of clock cycles between two breakpoints (Profile ==> Clock ==> Enable, Profile ==> Clock ==> View).
How do I perform this task under CCS4.1?
Thank You.
John,
thanksfor tha quick reply. However, my CCS status bar does not show the clock icon and the count number. As you suggested, I have enabled Target - > Clock - > View and Target -> Clock -> Enable. What is wrong?
I am using a F28335, debug is working fine otherwise.
Frank
John,
a shutdown and restart of CCS solved the problem. Now the status bar shows the clock icon.
Thanks again.
Frank
Champs,
I am facing the same issue. I do not see the clock value. I tried to shutdown CCS and restart t but it does not help. I us CCS Version: 4.1.1.00014 with TMS320f28335 board. I also tried the simulator configuration with no more success.
Any idea?
Best regards, Agnès
Hi Roger,
Did you try the steps in the IDE troubleshooting guide? That did the trick for me once.
ki
Thanks - I'll try it next time & let you know what happens.
On the same issue - when the project is rebuilt the clock will disappear. With luck it can be turned on again. It would be more useful if the clock did not disappear when the project is rebuilt if it had been turned on before.
R
Looks like a bug in the version of CCS you are using. I just checked 4.1.3 and it only appears once.
Thanks for the reply.
The two options for the cycles gave me different values for the clk cycles taken by each instruction.
For example: asm(" NOP") was measured as Two CLK cycles with one option and One CLK cycle with the other option.
I will update my software from 4.1.2 to 4.1.3
Amit.
Hi,
I have a big project which calls many function. so i want to see profiling(cycle) for each ind module. Using CCS4 i am not able to
1. activate the profiling for the functions
2. Not able to see the cycles also :(
In CCS3.3 it was first enable the proflie -> select the function u want to profile -> then run the project with refresh rate set to 0 and u will be able to see the cycles for each module.
Is there any user guide which can help me in using this new CCS4.
Also appreciate is any one knows how to modify the rts.lib on this version of CCS.
Note that CCSv4 does not support function profiling on C28x by default. It can be enabled if you want it but note the warning at the bottom about trying to profiling code in flash:
A little tutorial on the function profiler is available here:
http://software-dl.ti.com/dsps/dsps_public_sw/sdo_ccstudio/CCSv4/Demos/ccs4-prof_func.htm
Thanks
ki
Hi Ki-Soo,
I have forgot to mention the DSP i am trying to use. Actually i was trying to profile on C6416, C6482 and 6616( using fixed point format). Sorry to ask this question under wrong DSP forum.
Will appreciate if you can help me in getting help on this.
Regards
Deepak Joshi
Function profiling is only recommended on C6000 simulation. There are accuracy issues on C6000 HW so it is not recommended.
The quick tip I mentioned above applies to fuction profiling on C6000 simulation.
thanks
ki