Skip to main content

IAR Embedded Workbench for RH850 3.20.x

Using performance analysis

In this section:
Getting started analyzing code performance:
  1. When you have built your application and started C-SPY, choose Driver>Performance Analysis Setup to open the Performance Analysis Setup dialog box. Select the Enabled check box for each counter that you want to use.

  2. Use the Measurement item dropdown menu to specify what you want to analyze: executed instructions, the number of accepted interrupts or something else.

  3. Select exactly which aspect you want to measure: the total count, the highest or lowest count, the newest count, or the pass count.

  4. Use the dropdown menus Start condition event and End condition event to specify which part of the execution that you want to analyze: from the start of the execution or from a previously defined Performance Start breakpoint, to the end of the execution or to a previously defined Performance Stop breakpoint.

  5. If you want to set a threshold for when to stop the measurement, select Threshold violation mode and specify a threshold value.

  6. Click OK and start executing your application. Measurements are displayed in the Performance Analysis window.

    When you start a new measurement, the old data is automatically cleared first.