9.8.3. Changing the columns displayed in the Profile view

You can choose which columns to display in the Profile view.

Note

If you are using a simulator, some columns might not be available. Columns that are not available are grayed out in the menu, and are not displayed by default.

To change the columns displayed in the Profile view, select one of the following options from the Profiling Data menu in the Analysis window:

First Instance

Displays the 1st column that shows the element number of the first instance of each function in the captured trace.

This column is not displayed by default.

Time% in Self

Displays the Exec% column that shows, as a percentage of the whole, the time spent in the range of this function or module, where the entire trace buffer represents 100%. This represents the PC in the range of the function itself, and does not include time spent in the descendents of the function.

This column is displayed by default.

Note

Inlined functions count towards the time of the function into which they are inlined.

Time% Including Children (B=>E%)

Displays the B=>E% column that shows, as a percentage of the whole, the time elapsed from the beginning to the end of the range. This includes time spent in the descendents of the function.

This column is displayed by default.

Range Type

Displays the Type column that shows the type of range. This is usually Func, indicating a function. Where there are no functions, for example if the code is in assembly language, the range type is Module.

This column is not displayed by default.

Range Symbol

Displays the Symbolic column that shows the name of the function or module that is profiled.

This column is displayed by default

Address as Value

Displays the Address column that shows the address of the symbol that is profiled.

This column is not displayed by default

Exec/B=>E/B=>E Average

Displays the following columns:

Exec/cycl

This column shows the total time spent in execution(s) of this function.

This column is not displayed by default.

B=>E

This column shows the total beginning to end time of all executions of this function.

This column is not displayed by default.

B=>E Avg

This column shows the average of all the individual times spent on the execution of this function.

This column is not displayed by default.

Count of Calls

Displays the Count column that shows the number of times that the function was entered and exited.

This column is displayed by default.

Note

If the trace begins or ends within a function, then that instance of the function is not counted. For an instance of a function to be counted, both entry to and exit from the function must be traced.

Min/Max Times

Displays the following columns:

Min B=>E

This column shows the minimum time spent executing the function. This is especially useful when a particular function is executed several times, but for different tasks, and you want to see the lowest value of the execution times involved. The time is displayed in the format that is currently selected for analysis.

This column is not displayed by default

Max B=>E

This column shows the maximum time spent executing the function. This is especially useful when a particular function is executed several times, but for different tasks, and you want to see the highest value of the execution times involved. The time is displayed in the format that is currently selected for analysis.

This column is not displayed by default.

Histogram View

Displays the Histogram column that shows the graphically the time spent in each function. You can view the histogram as a linear or a logarithmic function. By default, the histogram is displayed as a linear function. You can view the histogram as a logarithmic function of the Exec% or B=>E value by selecting Use Logarithmic Scale for Histogram in the Profiling Data menu.

This column is displayed by default.

Figure 9.20 shows an example histogram.

Figure 9.20. Example histogram

Example histogram

Note

The histogram is not available if timing information is not present. If you want to view profiling information, you must enable either timestamping or cycle-accurate tracing, or both. If you have an ETMv3 core, then instruction count-based profiling information is shown, unless you enable one of these options. You can configure both of these options using the Configure ETM dialog box. Better results in profiling are generally obtained with cycle-accurate tracing enabled.

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