The Performance Call Graph view shows the dynamic call structure of the program that you are profiling, and indicates where the program spends most of its time.
To open the Performance Call Graph, right-click a profiling resource in the Profiling Monitor, then click
. Choose the profiling resource depending on the data you want to display:Here are some tips for using the call graph:
Data item | Description |
---|---|
Host | The name of the host on which the method ran. |
Process | The ID of the process in which the method ran. |
Method | The name of the method over which you have paused the mouse cursor. |
Source File | If source code is available, the name of the source file for the selected method. |
Calls | The total number of calls made to the selected method. |
Base Time | The time spent in the selected method, excluding the times for any descendant methods. |
Cumulative Time | The Base Time for the selected method plus the times spent in all descendant methods on behalf of the selected method. |
Min Time | The smallest time recorded for a single invocation of the selected method. |
Max Time | The largest time recorded for a single invocation of the selected method. |
Avg Time | The average time per call spent in the selected method (Base Time/Calls). |
Caller | For an arc between nodes, the name of the calling node. |
Descendant | For an arc between nodes, the name of the descendant node. |
Calls | For an arc between nodes, the number of calls made to the descendant by the caller. |
Propagated Time | For an arc between nodes, the time spent in the descendant on behalf of the caller. |
Control | Menu command | Description |
---|---|---|
Redo Layout | Redraws the call graph in the default layout. | |
Toggle Overview | Displays or hides the call graph overview. | |
![]() |
Show Method Details | Opens the Method Details view for the currently selected method. |
![]() |
Find Method | Lets you specify a method name to locate within the call graph. |
![]() |
Graph Colors | Lets you change the colors used in the call graph. |
Navigate Back | In the node selection history, navigates to the previously selected node. | |
Navigate Forward | In the node selection history, navigates to the next selected node. | |
Pull-down menu | Line Scale Factor | Specifies how the lines in the call graph are displayed. You can specify Unweighted or Linear. Linear line scaling uses the thickness of lines linking nodes to represent the distribution of measured resources from a node to its immediate neighbor, as a percentage of the total for the profiling run. The default is Linear. |
Pull-down menu | Method Name | Lets you change how method names are displayed in the Performance Call Graph view and the Method Details view. |
Pull-down menu | Time Units | Lets you select the time units to use: seconds, milliseconds, or microseconds. |
Pull-down menu | Precision | Lets you select the precision to use: 0.0 to 0.00000, or none. |
Pop-up menu | Refresh Views | Repopulates all views with the most recent data for the selected profiling resource. |
Pop-up menu | Filter | Includes or excludes methods from the analysis data set. For more information, see Data commands in the Performance Call Graph and Method Details views. |
Pop-up menu | Subtree | Hides, deletes, or focuses on a subtree. For more information, see Data commands in the Performance Call Graph and Method Details views. |
Pop-up menu | Expand/Collapse | Displays or hides the descendants of the selected method. For more information, see Data commands in the Performance Call Graph and Method Details views. |
Pop-up menu | Open Source | When source code for the selected method is available, opens the source file in the default editor. |
Highlight drop-down list | Highlights methods based upon criteria you select in the list. For more information, see Data commands in the Performance Call Graph and Method Details views. | |
Zoom slider | Changes the scale of the call graph. |