2.3. Getting started with ARM Profiler (RVDS Professional edition only)

ARM Profiler enables you to see how your code performs on a target system by:

Note

Profiling with DSTREAM is not supported.

When execution of your application stops, ARM Profiler produces an analysis file containing detailed information on the executed code, such as call sequences for various functions, timing characteristics, cycle counts, and instruction counts.

Table 2.2 is a high-level procedure showing the main tasks. The sequence presented in the table reflects the order that the tasks might usually be performed.

Table 2.2. Main profiling tasks

StepDescriptionReference
1

Build the image you want to analyze.

Building and debugging task overview

2

Start the ARM Workbench IDE.

ARM® Workbench IDE User Guide

3

If an ARM Workbench project already exists, continue at step 5.

 
4

Otherwise, create an ARM Workbench project for your application and add your image file.

ARM® Workbench IDE User Guide

5

Select the image you want to analyze.

ARM® Workbench IDE User Guide
6

Decide what collection method you want to use:

  • If you want to use hardware or create your own run configuration, continue at step 7.

  • If you want to use a preconfigured RTSM, continue at step 8.

 
7Configure your target connections within ARM Workbench.

ARM® Profiler User Guide

ARM DSTREAM and RVI Using the Debug Hardware Configuration Utilities

ARM RVI and RVT Setting Up the Hardware

ARM® Workbench IDE User Guide

8Run the image.

ARM® Profiler User Guide

ARM® Workbench IDE User Guide

9

Perform the required profiling tasks, such as analyzing the summary report, code view, charts, and graphs.

If there is no need for optimization, rebuild your image for final release.

ARM® Profiler User Guide

ARM® Workbench IDE User Guide

ARM® Compiler toolchain Introducing the ARM® Compiler toolchain

10

Optimize your source code:

  • use the ARM Workbench IDE

  • use another source editor of your choice.

ARM® Workbench IDE User Guide

11

Return to step 1.

 

Copyright © 2003-2011 ARM. All rights reserved.ARM DUI 0255M
Non-Confidential