Filtering Data by Method or Class File (Memory Profiling)

Related Topics

 

1.    Open the Filter Manager dialog box.

2.    Select the Methods tab or Classes tab, depending on the type of filter you want to apply.

3.    Select the method or class whose data you want to filter from the current dataset.

4.    Click the selected method or class's checkbox to enable the filter.

5.    For the selected item(s), click Retain to continue including the memory data of filtered methods or classes in the method + descendants (M+D) bytes of their callers, or click Delete to delete the memory data.

Notes:

§      Filters work only on classes and methods, they cannot be applied to objects.

§      The Methods tab lists all methods for which memory profiling data was collected.

§      If you retain the memory data for a filtered class file, all methods in that class that are called from other filtered classes are removed from the current dataset. If a method in the class is called from an unfiltered class, the method is not removed.

§      If you delete the memory data for a filtered class file, all methods in that class are removed from the current dataset, and their memory data is deleted.

§      To disable a filter, clear the checkbox for the selected class file or method. The class or method is restored to the current dataset and, if the memory data was deleted, the memory data for the dataset is recalculated.

§      Right-click a selected class file or method to display a shortcut menu for working with the filter.

§      When you're working in the Call Graph or Function List View, or in the Function Detail window, you can quickly filter data by class file. Select a method in the class file you want to filter, right-click in the window and select Filter > Hide Class File classfilename or Delete Class File classfilename from the shortcut menu, depending on whether you want to retain or delete the memory data. The class file is added to the Filter list in the Filter Manager dialog box.

§      Purify automatically saves the filters you create in the filter file exeName_exe.mft. For details about filter file names and their locations, click images\shortcut.gif.

(C) Copyright IBM Corporation 1992, 2010.