Introduction to performance analysis
Reasons for using performance analysis
The performance analyzing facility of the hardware debugger can measure a number of execution aspects to help you understand how well your application performs on the MCU.
Because performance analysis uses the debugger's performance measurement circuit to measure the execution time, it does not slow down the execution of your application.
Briefly about performance analysis
The performance analysis is capable of measuring these execution aspects:
the total time the execution takes
the total number of cycles the execution takes
the number of cycles spent processing interrupts and other exceptions
the number of executed instructions
the number of accepted interrupts and other exceptions.
The analysis can cover either the entire execution or execution between two breakpoints.
Performance analysis settings cannot be changed during the execution and the results of the analysis are displayed in the Performance Analysis window.
Requirements for performance analysis
To use performance analysis with your hardware debugger system, you need the appropriate hardware:
An E1, E2, E2 Lite, EZ-CUBE2, or E20 emulator
Either a target board with built-in J-Link or a J-Link/J-Link Ultra debug probe and a J-Link RX adapter.
The C-SPY simulator does not support performance analysis.