Feb 12, 2020
07:56 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Feb 12, 2020
07:56 PM
Hello all,
I am wondering that is there any way to measure/capture individual core usage on uC TC39xx.
One approach I found is calculate the percentage of time the CPU is not in idlle time ( OS awareness is required).
Target device : TC397x.
Debugger : Lauterbach PowerDebug USB with Trace32 PowerView.
Thank you in advance!
Regards,
Cuong
I am wondering that is there any way to measure/capture individual core usage on uC TC39xx.
One approach I found is calculate the percentage of time the CPU is not in idlle time ( OS awareness is required).
Target device : TC397x.
Debugger : Lauterbach PowerDebug USB with Trace32 PowerView.
Thank you in advance!
Regards,
Cuong
- Tags:
- IFX
1 Reply
Feb 13, 2020
04:03 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Feb 13, 2020
04:03 AM
Hi Cuong. Each CPU core has performance counters that can be started or stopped at user-definable addresses. The counters measure clocks elapsed, instructions executed, and a few selectable counters (cache misses, cache hits, etc.). Refer to the Core Debug Controller in the TriCore Architecture Manual for details.