Static Analysis Tutorial: 1 - Generating Data

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

To illustrate the purpose of the Static Analysis profiler, we will use a sample application that is supplied with AQTime, Cycles.

Managed code

Microsoft Visual Studio 2005 projects:

<AQTime Samples>\Managed\VS2005\Performance\CS  -  Microsoft Visual C# .NET

<AQTime Samples>\Managed\VS2005\Performance\JS   -  Microsoft Visual J# .NET

<AQTime Samples>\Managed\VS2005\Performance\VB  -  Microsoft Visual Basic .NET

<AQTime Samples>\Managed\VS2005\Performance\VC  -  Microsoft Visual C++ .NET

Microsoft Visual Studio 2013 projects:

<AQTime Samples>\Managed\VS2013\Performance\CS  -  Microsoft Visual C# .NET

<AQTime Samples>\Managed\VS2013\Performance\VB  -  Microsoft Visual Basic .NET

<AQTime Samples>\Managed\VS2013\Performance\VC  -  Microsoft Visual C++ .NET

Unmanaged code

<AQTime Samples>\Unmanaged\Performance\VC2013  -  Microsoft Visual C++ (Visual Studio 2013 project)

<AQTime Samples>\Unmanaged\Performance\VC2005  -  Microsoft Visual C++ (Visual Studio 2005 project)

<AQTime Samples>\Unmanaged\Performance\VB  -  Microsoft Visual Basic 6.0

<AQTime Samples>\Unmanaged\Performance\Delphi  -  Borland Delphi

<AQTime Samples>\Unmanaged\Performance\BCB  -  Borland C++Builder

Note: You can also open Visual Studio samples in later versions of Visual Studio.
On Windows Vista and later, AQTime samples are located in the <Users>\Public\Documents\AQTime 8 Samples folder. On other operating systems, the samples reside in the <Documents and Settings>\All Users\Documents\AQTime 8 Samples folder.
  • Load the sample program for your compiler in AQTime.

  • Select Static Analysis from the Profilers box on the Standard toolbar.

    Select Static Analysis from the AQTime > Profilers item in the main menu of Visual Studio.

    Select Static Analysis from the Current Profiler submenu of Embarcadero RAD Studio’s AQTime menu.

  • Press Run to start profiling.

    Select AQTime > Run to start profiling. Alternative way to start profiling is to press Visual Studio’s Run button while any of AQTime panels is active.

    Select AQTime > Run With Profiling to start profiling.

  • Review the displayed results.

Note that there is no need to set up areas and triggers, since the profiler does not support them. In addition, it is not necessary to check the state of the Enable/Disable Profiling item, because Static Analysis does not launch your application.

In the next two steps we will analyze profiling results.

Prev     Next

See Also

Static Analysis Profiler

Highlight search results