1. Open the Filter Manager dialog box.
2. Select the Functions tab, Procedures tab, or Methods tab, depending on the type of program you're profiling.
3. Select a pattern to use to filter data from the current dataset. For example, GetFileType or JVM*.
4. Click the selected pattern's checkbox to enable the filter.
5. For the selected pattern, click Retain to continue including the time of filtered functions in the function + descendants (F+D) time of their callers, or click Delete to delete the time.
Notes:
§ This tab lists patterns used to filter functions. By default, Quantify filters some functions and, in most cases, retains the time.
§ The pattern is always matched against the full function name, regardless of the settings in the Function Name, Procedure Name, or Method Name dialog box.
§ To add a pattern, type a pattern string and click Add. You can use an asterisk (*) to denote a character string of any length; use a backslash (\) with the asterisk if the function name itself contains an asterisk. For example:
This pattern |
Matches any function whose name |
CWnd::* |
Begins with CWnd:: and is followed by any string |
*chr |
Starts with any string and ends in chr |
*str* |
Contains str |
delete(void\** |
Is delete and whose first argument is void* |
§ To edit a pattern in place, simply click the selected pattern or right-click the selected pattern and select Rename from the shortcut menu.
§ To disable a filter, click the selected pattern's checkbox. Quantify restores the functions to the current dataset and, if their time had been deleted, recalculates the dataset to include their time again. You can also delete a selected pattern by clicking Remove.
§ Quantify automatically saves the filters you create in a Quantify filter file.
§ Right-click a selected pattern to display a shortcut menu for working with the filter.
§ When you're working in the Call Graph, Function List, or Function Detail window, you can quickly filter functions by pattern. Select a function, right-click in the window, and select Filter > Hide functionname or Delete functionname from the shortcut menu, depending on whether you want to retain or delete the time. Quantify adds the function name (which is a pattern) to the Filter list in the Filter Manager dialog box.
(C) Copyright IBM Corporation 1993, 2009.