Capturing and analyzing data for the threads example

After you have created a Streamline run configuration, you can capture, analyze, and view a report in Streamline. To do so:

  1. Click the Run button at the bottom of the run configuration window to start the profiling session. If you have defined your target correctly, an analysis file appears in the ARM Streamline Data view with a Stop button.

    Figure 5. ARM Streamline Data View: From working .apc file to .apd file

    ARM Streamline Data View: From working .apc file to .apd file
    ARM Streamline Data View: From working .apc file to .apd file
    ARM Streamline Data View: From working .apc file to .apd file

    Note

    Although .apd files are not compatible across different versions of Streamline, .apc files are. If you have upgraded Streamline and rendered your .apd files incompatible, re-run the .apc files and Streamline creates new, compatible .apd files based on the stored capture sessions.

  2. During the collection of profiling data, switch to your target and open a terminal.

  3. Navigate to the threads directory

  4. Enter ./threads on command line to execute the threads example on your target.

  5. After you have run threads, return to your host machine and click the Stop button. This action processes the data and makes it ready for report viewing.

Show/hideViewing the .apd report

When the analysis completes, Streamline automatically opens the profiling report. To open the report again, double-click on the .apd in the Streamline Data view.

Figure 6. ARM Streamline Data view

ARM Streamline Data view

To analyze the captured .apc data again with other settings, double-click on the captured data icon.

You can use the resutling settings dialog box to add or remove images and libraries, so that your final reports reflect only the execution you want to focus on.

Figure 7. Changing the settings for a new report

Changing the settings for a new report

Show/hideSee also

Copyright © 2010 ARM Limited. All rights reserved.ARM DUI 0482A
Non-ConfidentialID100210