Part Number: MSP432E401Y
Tool/software: Code Composer Studio
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.
Did you read the CCS Forum Guidelines & FAQ? If not, PLEASE read it. If you haven't read it in awhile, please read it again to see if any updates were made.
Having CCS problems? Check out the CCS Troubleshooting Guide
Looking for CCS Training? Check out the CCS Training Site
Curious about the status of a bug and know the tracking ID? Track it via the public bug tracking portal
NOTE: When a bug is filed and a tracking ID is provided, the thread may then be suggested as "TI Thinks Resolved". Why? Please read the first FAQ of the CCS Forum Guidelines & FAQ
We are glad that we were able to resolve this issue, and will now proceed to close this thread.
If you have further questions related to this thread, you may click "Ask a related question" below. The newly created question will be automatically linked to this question.
In reply to Ki-Soo Lee:
In reply to Shantanu Sampath63:
Shantanu Sampath63Is 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)
All content and materials on this site are provided "as is". TI and its respective suppliers and providers of content make no representations about the suitability of these materials for any purpose and disclaim all warranties and conditions with regard to these materials, including but not limited to all implied warranties and conditions of merchantability, fitness for a particular purpose, title and non-infringement of any third party intellectual property right. TI and its respective suppliers and providers of content make no representations about the suitability of these materials for any purpose and disclaim all warranties and conditions with respect to these materials. No license, either express or implied, by estoppel or otherwise, is granted by TI. Use of the information on this site may require a license from a third party, or a license from TI.
TI is a global semiconductor design and manufacturing company. Innovate with 100,000+ analog ICs andembedded processors, along with software, tools and the industry’s largest sales/support staff.