The Annotated Source window displays a copy of the source code with annotations related to the performance of individual functions and lines.
The Annotated Source window displays a function summary preceding each function. If the source file uses template functions, Quantify inserts a function summary for each instantiation. The function summary identifies the function, the number of times it's called, the callers, the function and function + descendants (F+D) times, and the times as percentages of the current focus (for example, .Root.).
The Annotated Source window displays the following data for each line of code:
1. The amount of time the line takes to execute, excluding any calls it makes (Line time)
2. The amount of time the line and any calls it makes take to execute (Line + descendants (L+D) time)
3. The percentage of the function time spent on the line (Percent of function time)
4. The percentage of the F+D time spent on the line (Percent of F+D time)
You can do the following operations in the annotated source:
To |
Do this |
Locate a function in the annotated source |
Select a function from the Functions list. |
Show or hide columns |
Right-click in any column heading and select Show/Hide Columns from the shortcut menu. You can also drag the right border of a column heading completely to the left to hide the column; use the Show/Hide Columns dialog box to redisplay the column. |
Rearrange columns |
Drag a column by its heading to a new position. |
Resize columns |
Drag the right border of a column heading to any width or double-click the right border to automatically resize the column to fit the data. You can also right-click in any column heading and select Size All to Fit from the shortcut menu to resize all columns, or Size to Fit to resize the current column. |
Notes:
§ If a numeric value is too long to be completely displayed in a column, Quantify displays ###. For long text strings, Quantify displays as much of the string as possible and then an ellipsis (…). You can resize the columns to fully display the data.
§ 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 you chose to display multi-block lines, Quantify displays a line for each block, identified by a plus sign (+) in the Line number column.
§ Annotated source code is available only if debug data is available and if the module was measured at line level.
§ Annotated source showing line-by-line performance data is not available when you profile a Visual Basic 6.0 p-code program.
§ Right-click in the Annotated Source window to display a shortcut menu for working with the annotated source code.
(C) Copyright IBM Corporation 1993, 2009.