Using the Call Tree tab

The Call Tree tab provides information about method calls during the profiling session in a form that lets easily identify a hot spot. It consists of two parts: the execution flow call tree and call stack view.

Prerequisites:

Display

Here is a sample of the Call Tree tab display:

Method invocation tab showing three threads

The tree shows relative time spent in a method execution against total time spent in application run. The first-level items in the tree are threads instances. The tree items show the cumulative time of methods, and when expanded the base time of a method is shown as one of sub-items. The percentage column in the table is shown as the bar graph where 100% is the total time of the thread. Sorting by this column is available.

The call stack view shows the stack trace of the method selected in the call tree. The tree shows aggregated information while the stack trace can be ambiguous if one method is called from another several times at different lines of code. In this case the stack traces can be navigated by "previous" and "next" buttons. Cumulative time for every method in the stack trace is provided in absolute and percentage forms.

Controls

Toolbar controls

Icon Definition
open source icon Opens the source of a selected item.
Export icon Export records to available report formats. The New Report dialog allows you to select the report type and open the document using the default system editor.

Pop-up menu controls

Menu item Definition
Refresh Views icon Refresh the view
Select the columns to be displayed in the method invocation table Choose columns to display the table.
open source code button Open source code for the method.

 


Related concepts
Overview of the Profiling Tool
Profiling resources

Related tasks
Profiling an application
Viewing invocations and callers of a method


(C) Copyright IBM Corporation 2000, 2009. All Rights Reserved.