Skip to main content

IAR Embedded Workbench for RX 5.20

Using performance analysis

In this section:
Getting started analyzing code performance:
  1. When you have built your application and started C-SPY, choose C-SPY driver>Performance Analysis to open the Performance Analysis window and clickactivateButton.png the Enable button to turn on the analysis.

  2. ClickEditSettingsButtonEnabled.png the Setup button to display the Performance Analysis Setup dialog box.

  3. Use the Condition list box to select what to measure and close the dialog box.

  4. Start executing your application to begin the analysis.

  5. Measurements are displayed in the Performance Analysis window.

    You can also choose to set performance breakpoints to measure the execution of certain sections of code. These breakpoints will be displayed in the Performance Analysis Setup dialog box.

    Before you start a new measurement, you can clickTraceClearButton.png the Clear button to clear the collected data. To clear just one of the counters, select it before clearing.