Purify provides ways to focus memory profiling data before, during, and after data collection.
Focus data before you start collection by limiting the scope of data collection in one of the following ways:
§ Select specific classes for instrumentation. You can limit instrumentation and data collection to include just your code, or any classes that you select.
§ Use the Rational PureAPI functions to control data collection programmatically.
Focus your data as it is being collected in the following ways:
§ Take interactive snapshots of the data collected at specific points in the program's execution.
§ You can also compare two snapshots to create a set of data consisting only of the data collected between the first snapshot and the second.
Focus your data after it has been collected using filters, as follows:
§ Create, enable and disable filters in the Filter Manager dialog box. You can enable or disable multiple filters at one time. Select the filters, then right-click and select Enable or Disable. Purify saves the filters in a memory profiling filter file (.mft).
§ To use filters from the command line or a test script, use the /FilterFiles command-line option along with /SaveTextData.
(C) Copyright IBM Corporation 1992, 2010.