The Method Invocation view shows a representation of the entire course of a program's execution and also provides the ability to navigate through the methods that invoked the selected method. The view uses the same graphical metaphor as the Execution Flow view and the Method Invocation table contains the same information as the Execution Flow table.
The Method Invocation table can be invoked only from the Method Invocation view, which can only be invoked from Execution Statistics view, and the Execution Flow view.
Here is a sample of the Method Invocation view display:
Stripes cascade to the right as one method calls another method, whose responding method in turn calls another method, and so on. Stripes are grouped in columns by thread. A thin, black vertical line separates one column from another. The name of each thread appears at the top of its column.
In the Method Invocation table, the method invocations are listed in the first column, threads are grouped in the second column and the time is recorded in successive rows.
Note: The profiling views are described here using Java. Profiling data from a different application context might change the terms and syntax used in the views. For more information, see Understanding application contexts in profiling views.
The toolbar for both view and table contains the following controls:
Menu item | Definition |
---|---|
![]() |
To zoom into the graph. |
![]() |
To zoom out of the graph. |
![]() |
Return to the original graph size. |
![]() |
Show the Raw Cumulative time as a percentage. |
![]() |
Edit the graph colors. |
![]() |
To select a portion of the graph to enlarge. |
![]() |
Show Caller. |
![]() |
Show Callee. |
![]() |
Show previous invocation. |
![]() |
Show next invocation. |
![]() |
Open source code for the method. |
![]() |
Select the Show Time option to select the time basis of the graph.
Select the Next and Previous options to move to the next or previous methods in the display. Select the Display Application Context option to display profiling data based on a programming language or data collection context. For more information, see Understanding application contexts in profiling views. |
The status line of the Method Invocation graph is also different than
in the Execution Flow graph. Point the mouse over a stripe to
display status information, for example:
Menu item | Definition |
---|---|
![]() |
Refresh the view |
![]() |
Edit the graph colors. |
![]() |
Return to the original graph size. |
![]() |
Show Method Details for the selected method. |
![]() |
Show Method Invocation for the selected method. |
![]() |
Choose columns to display in the invocation table. |
Related concepts
Overview of the Profiling Tool
Execution Flow view and table
Related tasks
Profiling an application
Viewing invocations and callers of a method
Tutorial: Analyzing the profiling data from a Java process
(C) Copyright IBM Corporation 2000, 2006. All Rights Reserved.