| |||
| Home > Getting Started with RealView Development Suite > Getting started with ARM Profiler (RVDS Professional edition only) | |||
ARM Profiler enables you to see how your code performs on a target system by:
observing your code on target hardware using RealView ICE in conjunction with RealView Trace 2
testing code against an ARM Real-Time System Model (RTSM).
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
| Step | Description | Reference |
|---|---|---|
| 1 | Build the image you want to analyze. | |
| 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:
| |
| 7 | Configure 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 |
| 8 | Run 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:
| ARM® Workbench IDE User Guide |
| 11 | Return to step 1. |