Setting Profiling Filters

See Also

When you analyze application performance, you can use filters to specify the classes that you want to include or exclude in the instrumentation. When you use a filter you limit the number of instrumented classes and reduce the profiling overhead.

You choose a filter by selecting a filter from the Filter dropdown list when you configure the profiling session. The dropdown list contains the following filters and also any custom filters you create.

To modify the Quick Filter settings, do the following:

  1. Open the Set Quick Filter dialog box by selecting Quick Filter in the dropdown list and then clicking Edit Filter Value.
  2. Select either Exclusive or Inclusive as the filter type.
  3. Type or modify the filter values and click OK.

If you want to use a filter more than once, you can create a custom filter set.

To modify or create a custom filter set:

  1. Open the Customize Filter Sets dialog box by choosing CPU in the Select Profiling Task dialog box and clicking Edit Filter Sets.
  2. Select an existing filter set or click Add and type a name for the new filter set.
  3. Specify the Filter Set Type: inclusive or exclusive.
  4. In the Global Filters list, activate the global filters you wish to be part of the filter set by selecting the checkbox for that filter.
    Note: You can place your cursor over the values to see all the patterns included in that filter.
  5. Click OK to save the new custom filter set.

After you create a new filter set, you can choose the filter in the Filter drop-down list. You can use the new filter when analyzing the performance of any project.

See Also
Analyzing Application Performance

Legal Notices