5.3.5. The top five bar charts

The top five bar charts show the overall performance of your code, displaying the top five functions in a few different categories.

Figure 5.5. The Top Five Bar Charts

The Top Five Bar Charts

The Top 5 Functions by Self Time bar chart shows you which functions most frequently occur during the captured run. The bar chart's number represents a percentage of the whole, so a function that appears in this chart with a top bar labeled 50% means that the application dedicated half the time used in the run to instructions within this function. Double-clicking on any of the bars opens the code view with that function selected. This is not the only navigation option provided by the top five functions bar chart. Right-click on any of the chart's bars to open a contextual menu with the following menu options:

The first four menu options, Filter, Filter, Including Children, Filter Others, and Filter Others, Including Children filter the selected function's data from all reports. The third option, Select in Functions, opens the functions report, with the function selected. Select in Classes only appears if the analysis file has been generated using C++. It opens a classes report with the chosen function's class selected. The Select in Files option opens the files report with the function's source file selected. Select in Code View opens the code view for the selected function, with all of the instructions and pertinent lines of code highlighted.

Select in Call Chains opens the call chains report with every instance of the function selected and the hierarchal report broken down so that they are all visible. The Select in Call Graph and Select in Call Summary options open the visual reports with the function active and centered, while the Edit Source option opens the function's source file in the ARM Workbench default editor.

Note

The Edit Source contextual menu option only appears if the file is a standard C or C++ file. If the bar represents a function without source, like a third-party library function, the Edit Source option does not appear.

Just below the Top 5 Functions by Self Time bar charts is the Top 5 Classes by Self Time bar chart, if applicable. This chart breaks down the top self time consumers by C++ class, reporting the class names and percentages. The navigation options for the class reports mirror those of the function bar charts.

The Top 5 Functions by Delay and Top 5 Functions by Memory Access charts are similar to the Top 5 Functions by Self Time bar chart, only they display the five functions with the highest Delay and Accessed values, respectively. The navigation options for this bar chart are the same as in the Top 5 Functions by Self Time report.

Note

If the program is very small and there are not enough files or functions to populate the top five bar charts, the ARM Profiler fills the charts with as much data as possible and increases the thickness of the bars to fill the space.

Copyright © 2007, 2008 ARM Limited. All rights reserved.ARM DUI 0414C
Non-Confidential