12.3. Profiling your Symbian OS application

After you have built the Symbian OS and at least one Symbian OS application. To do this:

  1. From the ARM Workbench IDE, select Run → Open Run Dialog to open the run configuration window.

  2. Select RealView Trace 2 or Real-Time System Model in the Connection tab.

  3. Disable semihosting using the checkbox in the Connection tab.

  4. In addition to all of the standard steps detailed in chapters 3 and 4, enter the elf OS image file in the Images tab. If your Symbian OS is already loaded on the target, or is loaded by the Before Transfer or After Transfer scripts, skip to step 6.

    Note

    If you use the Browse button to locate the .exe file, make sure you use the Files of Type drop-down menu at the bottom of the dialog to specify the Executables option. Otherwise, the Symbian .exe file is not shown in the list of available files.

  5. Select Load Image from the drop-down menu.

  6. Click the plus button to add another image file.

  7. Enter the location of the Symbian OS application to profile.

  8. In the Profiling tab of the launcher, set the Symbian OS application to Loaded by OS.

  9. Ensure that the Generate ETM Context IDs checkbox is selected.

  10. Click Run.

  11. After the Symbian OS starts, navigate through the interface to the application you want to profile.

  12. Run the application in the Symbian OS Techview.

    Note

    Because the ARM Profiler can not recognize an application that has already started, you must connect the profiler before you launch the application.

  13. Click End Capture in the Live Update panel after the application has terminated.

    Note

    The ARM Profiler does not profile the Symbian OS itself. Any calls to the kernel will show up in reports as non-profiled code.

Copyright © 2007- 2009 ARM Limited. All rights reserved.ARM DUI 0414D
Non-Confidential