The Call Graph window shows the dynamic call structure of the program you're profiling and indicates where the program spends most of its time.
By default, the call graph displays the top 20 functions by function + descendants (F+D) time in the current dataset.
The call graph also highlights the path from the most expensive function back to the program's beginning; thicker lines indicate more expensive paths. You can highlight other functions based on criteria such as performance, calling relationships, and possible causes for bottlenecks. Using the shortcut menu, you can show additional functions, filter out non-critical functions, and focus on specific subtrees.
In the call graph, Quantify indicates whether all or only some descendants of a selected function are visible:
|
No descendants are visible |
|
Only some of the immediate descendants are visible |
|
All descendants are visible |
In the status bar of the window, Quantify displays:
1. The number of functions visible in the call graph and the total number of functions in the current dataset
2. The number of highlighted functions visible in the call graph, and the total number of highlighted functions in the current dataset
3. The current function and its module
You can do the following operations in the Call Graph window:
To |
Do this |
Display function or line details |
Pause the cursor over a function or line to display information about it. Double-click a function to see its Function Detail window. |
Display functions |
Right-click in the window and select Expand/Collapse and the appropriate command from the shortcut menu. You can also click |
Move functions |
Drag a function to any location in the call graph. If necessary, Quantify uses curved lines to indicate that the function is located in advance of its actual position in the program's calling structure. You can redisplay the call graph using Quantify's default layout by clicking the Redo Layout tool |
Highlight specific functions |
Select a category from the Highlight drop-down list. For example, you can highlight functions that include time from hidden functions. For more information about the categories, click |
Change colors |
Right-click in the Call Graph window and select Colors and the appropriate command from the shortcut menu. You can change the color of lines, text background, and highlighting. |
Scale the call graph |
Drag the Zoom slider to the left or to the right. |
Scroll the call graph |
Use the scroll bars, or click the background of the Call Graph window to display the hand cursor and then move the cursor left, right, up or down. |
Display the Overview |
Click the Toggle Overview tool |
Move the toolbars |
Drag them to any location on your desktop. |
Notes:
§ By default, Quantify displays commas in numeric values, as in 1,244,329.68. You can turn off this setting in the Preferences dialog box.
§ If your system supports 256 or fewer colors, the colors displayed might not match exactly the colors you select.
§ When you compare runs, by default the Diff Call Graph window highlights performance improvements in green and regressions in red.
Right-click in the Call Graph window to display a shortcut menu for working with the call graph.
(C) Copyright IBM Corporation 1993, 2009.