Hi,
I want to know the run time from one line to the other line when debuging in CCS. Who can tell me how to ?
Thanks!!!
Jackie
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.
Hi,
I want to know the run time from one line to the other line when debuging in CCS. Who can tell me how to ?
Thanks!!!
Jackie
Hi Jackie,
The Raw way of doing this is:
1. While in debug mode, turn the Clock profile on. Check this link on how to do it: http://processors.wiki.ti.com/index.php/Profile_clock_in_CCS
2. Calculate one cpu cycle duration for eg. 150MHz clocked device will have cycle time of 6.67-ns.
3. Multiply the number of clock cycles from step 1 to cycle time from step 2; you'll get the execution time.
4. Make sure you use "Run to line" and "Step into"; for calculating execution time line wise.
Good luck, Merry Christmas & Regards,
Gautam