10.16. Capturing profiling information

This example demonstrates how you can use RealView Debugger to capture profiling information for your application. You use the profiling feature to get an overall view of the time spent in each function as a percentage of total execution time. You can profile the whole image, or specific parts of the image such as a loop.

The dhrystone.axf image used in this example performs a benchmarking sample that is executed n number of times, where you are prompted to indicate n when running the image. By performing multiple runs, you can sum the profiling data. This example assumes that you want to analyze the execution times of all functions that are executed in the main for loop that is run repeatedly. It also assumes that you are using an ETM-based target.

Copyright © 2006, 2007 ARM Limited. All rights reserved.ARM DUI 0322B
Non-Confidential