AURIX™ MCU: TriCore™ CPU Performance Counters - KBA236236
- Subscribe to RSS Feed
- Mark as New
- Mark as Read
- Bookmark
- Subscribe
- Printer Friendly Page
- Report Inappropriate Content
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:
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:
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