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

cross mob

AURIX™ MCU: TriCore™ CPU Performance Counters - KBA236236

AURIX™ MCU: TriCore™ CPU Performance Counters - KBA236236

Infineon_Team
Employee
Employee
50 replies posted 25 likes received 25 replies posted

Community Translation(JP): AURIX™ マイクロコントローラ: トライコア™ CPU パフォーマンスカウンタ - KBA236236

Version: **

The TriCoreTM CPU provides multiple counters to measure various parameters in the CPU without impacting the software execution. The performance counters can be enabled in debugging mode.

The TC1.6.2P CPU, which is used in AURIX™ TC3xx devices, has the following performance counters:

IFX_Community_0-1663748070271.png

CCTRL SFR is the control register used to enable or disable the counters.

CCNT and ICNT provide the CPU clock and instruction counts respectively.

Additional counters such as M1CNT, M2CNT, and M3CNT can be configured via the CCTRL.M1, CCTRL.M2, and CCTRL.M3 fields respectively. The available counters in TC1.6.2P CPU are as follows:

IFX_Community_1-1663748097493.png

Using these counters, detailed performance analysis of the executed software can be performed.Insights about various parameters such as the execution time and cache hits or miss can be obtained.. This, in turn, helps to profile and optimize the software.

 Note: This KBA applies to the following series of AURIX™ MCUs:

  • AURIX™ TC3xx series
0 Likes
646 Views