Classes to Profile Pane

Applies to AQTime 8.81, last modified on January 18, 2022

About the Classes to Profile Pane

The Classes to Profile pane is displayed in the upper right corner of the Setup panel. Using this pane, you can create, modify, remove and configure class-level profiling areas — collections of code elements like classes, units or modules — that specify which class instance AQTime will track. For complete information on profiling areas, their types and levels, see About Areas.

The Classes to Profile pane is visible if the currently selected profiler is one of the following profilers (they support profiling at line level):

Predefined Class-Level Areas

The Classes to Profile pane contains a number of predefined areas. You can use them to easily include large code portions in profiling tasks:

  • All Project Modules - AQTime will profile all the classes defined in the modules that were added to the current AQTime project modules (except for the classed added to excluding areas).

  • Entire .NET Code - AQTime will profile all managed classes even if they do not belong to the modules added to the Setup panel.

  • Entire Script Code - AQTime will profile all the classes created in the profiled script code.

  • Entire Java Code - AQTime will profile all Java classes.

Note: If you select either the Entire .NET Code, Entire Script Code or Entire Java Code area, AQTime will profile even those .NET, script or Java classes that were added to class-level areas of the excluding type.

Custom Profiling Areas

In addition to using predefined areas, you can also create and use custom areas to specify classes to be profiled or ignored.

Each custom area can contain individual classes, as well as larger code elements like namespaces, files, units or modules. When you add a unit or module to a class-level area, this means that the area contains all the classes defined in that unit or module.

To add a class-level area to your project
  1. Right-click somewhere within the Classes to Profile pane and select Add Class-Level Area from the context menu.

  2. In the subsequent Add Class-Level Area dialog, you specify the area name and type: including (default) or excluding.

To modify area settings
  1. Right-click the desired area in the Classes to Profile pane and choose Edit Class-Level Area from the context menu.

  2. Change the area settings in the subsequent Edit Area dialog.

To add code elements to an area
  • Drag the desired code element (like a class, unit or module) from the Modules pane to the area.

-- or --

  • Right-click the desired elements in the Modules pane and select the target area from the list in the Add Selected to ... submenu.

An element can belong to as many profiling areas as you wish.

If an element is checked in an excluding class-level area, however, this will override all the checks in including class-level areas.

To remove a class-level area
  • Right-click the desired area and select Remove from the context menu.

-- or --

  • Select a class-level area and press Delete.

You can also drag elements from an area back to the Modules pane, but it's easier to use Remove or Delete.

See Also

About Setup Panel
Setup Panel Options
About Areas
Controlling What to Profile
Specifying Modules to Be Included Into the Call Stack

Highlight search results