Analyzing and debugging performance
Some Arm processors provide a Performance Monitoring Unit (PMU) that enables you to gather various statistics on the operation of the processor and its memory system during runtime.
These statistics provide useful information that you can use when debugging or profiling code and could prove useful when assessing the performance and resource efficiency of your system. The following resources will help you understand more about the PMU and how to use it:
- The Technical Reference Manual for your specific processor will provide information about the PMU, if your processor provides one. For example, the Arm Cortex‑A32 Processor Technical Reference Manual contains a chapter describing the PMU.
- System Performance Analysis and the Arm Performance Monitor Unit explains how Cycle Models of Arm CPUs enable system performance analysis by providing access to the Performance Monitor Unit (PMU). This includes an introduction to using the Cycle Model System Analyzer to automatically gather information on Arm PMU events for bare metal and Linux software loads.
- Using the PMU Event Counters in DS-5 details how to use the Performance Monitoring Unit (PMU) and the Event Counters in Arm DS-5 Development Studio.