3.3. Getting started with RealView Profiler (Professional only)

RealView Profiler enables you to see how your code performs on a target system, either by observing your code on actual target hardware using RealView ICE and RealView Trace 2 or by testing code against an ARM Real-Time System Model (RTSM). On completion RealView Profiler produces an analysis file with detailed information about each function and instruction.

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

Table 3.2. Main profiling tasks

StepDescriptionReference
1

Build the image you want to analyze.

Building and debugging task overview

2

Start the Eclipse IDE.

RealView Development Suite Eclipse Plug-in User Guide

3

If an Eclipse project already exists, continue at step 5.

 
4

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

RealView Development Suite Eclipse Plug-in User Guide

5

Select the image you want to analyze.

RealView Development Suite Eclipse Plug-in 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 Eclipse.

RealView Profiler User Guide

RealView ICE and RealView Trace User Guide

RealView Development Suite Eclipse Plug-in User Guide

8Run the image.

RealView Profiler User Guide

RealView Development Suite Eclipse Plug-in 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.

RealView Profiler User Guide

RealView Development Suite Eclipse Plug-in User Guide

RealView Compilation Tools Essentials Guide

10

Optimize your source code:

  • use the Eclipse IDE

  • use another source editor of your choice.

RealView Development Suite Eclipse Plug-in User Guide

11

Return to step 1.

 
Copyright © 2003-2008 ARM Limited. All rights reserved.ARM DUI 0255G
Non-Confidential