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):
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.|
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.
Right-click somewhere within the Classes to Profile pane and select Add Class-Level Area from the context menu.
Right-click the desired area in the Classes to Profile pane and choose Edit Class-Level Area from the context menu.
Change the area settings in the subsequent Edit Area dialog.
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.
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.