9.7.4. Viewing call-graph data in the Profile view

Call-graph data enables you to view a list of parents and/or children for each function. The data for the function being profiled is colored black, and the histogram for that function, if present, is colored red.

When parents and/or children are displayed, a ruler line separates each group of function, parents and children.

To view Call-graph data, select one or both of the following options from the Profiling Data menu:

Parents of Function

Displays the parents of the function. A parent is a function that makes a call to the function being profiled. The Exec% and B=>E% values shown for parents are the times spent in the child when called from this parent.

Parents are displayed before the function line, and the Symbolic information is indented. The data for parents is a light gray color, and the parent histograms, if present, are colored blue.

This option is disabled by default.

Children of Function

Displays the children of the function. A child is a function that is called by the function being profiled. The Exec% and B=>E% values shown for children are time spent in this function when called from the parent.

Children are displayed after the function line, and the Symbolic information is indented. The data for children is a light gray color, and the child histograms, if present, are colored green.

This option is disabled by default.

Note

Where the compiler inlines function calls, these inline functions are not shown as children.

Figure 9.21 shows example call-graph data.

Figure 9.21. Example of call-graph information

Example of call-graph information

The precise meaning of the call-graph values depends on the Data Interpretation option you have selected.

See Interpreting profiling data for information on how to select these options.

See also

Copyright © 2006-2011 ARM. All rights reserved.ARM DUI 0322G
Non-ConfidentialID052111