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 from the left panel.

  3. In addition to all of the standard steps detailed in chapters 3 and 4, enter the OS elf file in the Image field. If your Symbian OS is already loaded on the target, 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.

  4. Select Load Image from the Files of Type drop-down menu.

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

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

    Note

    Make sure the specified axf file matches the application loaded on the Symbian OS ROM. An axf file that does not match can cause runtime errors.

  7. Set the Symbian OS application to Symbols Only using the drop-down menu to the right of Image field.

  8. Click Run.

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

  10. Run the application in the Symbian OS Text Shell.

    Note

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

  11. 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, 2008 ARM Limited. All rights reserved.ARM DUI 0414C
Non-Confidential