Announcements

Help us improve the Power & Sensing Selection Guide. Share feedback

Tip / Sign in to post questions, reply, level up, and achieve exciting badges. Know more

cross mob
User18983
Level 1
Level 1
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
0 Likes
1 Reply
NeMa_4793301
Level 6
Level 6
10 likes received 10 solutions authored 5 solutions authored
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.
0 Likes