This topic describes how you can work with results displayed in the Call Graph panel:
Configuring the Panel
All panel settings are divided into two large groups: options specific to the current profiler and options common for all profilers.
- To modify options specific to the current profiler, use the Customize Call Graph dialog (to call it, select Customize from the Call Graph context menu).
In the Customize Call Graph dialog you can select result values to be displayed, the result format, the sorting order, and so on. Also, you can select what values should be displayed on the graph’s arrows. For instance, if you select Hit Count (for the Performance profiler), the numbers at the beginning of the arrows (from parent routines) specify how many times the highlighted routine was called from the parent one. Those at the arrow heads (towards child routines) specify how many times a child was called from the highlighted routine.
- To modify options that do not depend on the profiler, use the Call Graph Options dialog (it appears upon selecting Options from the context menu).
Limiting the Number of Hierarchy Levels
The number of “child” and “parent” levels in the chart is specified by two options in the Call Graph Options dialog: Number of child levels and Number of parent levels. Increase these settings to show more of the routine call hierarchy. Decrease them to simplify the display. If you want to view the entire tree of routine calls or object references, use the Call Tree panel.
Displaying Recursive Calls
Displaying Critical Path
To display the critical path in the Call Graph, enable the Show critical path for column option in the Customize Call Graph dialog. You can also specify which parameter will be used to calculate the “length” of the call route. To do this, select the desired column in the same box of the Customize Call Graph dialog. For more information, see Call Graph Panel Contents.
Navigating Within the Graph
Exporting the Graph
To export the graph to a metafile, select Export to Metafile from the context menu.
Printing the Panel Contents
To print the Call Graph contents, select Print or Print Preview from the context menu. Print will open the printer selection dialog and send the Call Graph to printer. Print Preview will open the Print Preview Form where you can customize the report to be printed.