Using Quick Profiling Area

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

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:

Items of the Code Editor's context menu
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:

  • Profile file_name File
  • Profile class_name Class
  • Profile routine_name Routine

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.

  • Starts profiling.

Notes:

  • 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.

See Also

About Areas
3. Choosing What to Profile and When
About Setup Panel

Highlight search results