To specify the files, classes and routines to be profiled, you create one or several profiling areas in the Setup panel, add the desired files, classes or routines to these profiling areas, select the areas for profiling and then start profiling.
When working in Microsoft Visual Studio and Embarcadero RAD Studio, you can also use the Quick profiling area. This is a special area, which you can use to quickly profile individual routines, classes or source files. This area is used by the Profile item, which AQtime appends to the context menu of Visual Studio’s and RAD Studio’s Code Editor:
|Note:||In Visual Studio, the Profile item is available only if your solution contains an AQtime project.|
The Profile menu item opens a submenu that contains the following three items:
By using these items you can quickly profile the current routine, the class to which this routine belongs, or the source file that contains the current routine’s code. When you select any of these items, AQtime performs the following actions:
Creates a new profiling area called Quick profiling area and adds the source file, class or routine to this area.
|Note:||If the Quick profiling area already exists, AQtime deletes it, creates a new area and adds the source file, class or routine to it.|
Selects the Quick profiling area and unselect all other areas.
The level of the Quick profiling area is an including area, but its type depends on the selected profiler. If the profiler supports line-level profiling, the area is line-level. If the profiler supports profiling at routine level, then the area has the routine-level type. For profilers that support areas of class type, AQtime will create a class-level area (for more information on areas and levels, see About Areas and About Profiling Levels).
To identify the area, AQtime uses its name. So, if you do not want the area settings affected by AQtime, it is not recommended to name your areas as Quick profiling area.
The described feature exists only in AQtime integrated into Microsoft Visual Studio or Embarcadero RAD Studio.