Microsoft Visual Studio* Integration

You can simplify the process of debugging code and tuning your application when both your application and tuning tools are available in the same interface. Intel® VTune™ Profiler integrates into Microsoft Visual Studio* environment and enables you to create and tune your application within a single environment.

Explore details on:

Note

Support for Visual Studio* 2017 is deprecated as of the Intel® oneAPI 2022.1 release, and will be removed in a future release.

Integrate VTune Profiler into Visual Studio During Installation

VTune Profiler integrates into Visual Studio by default. You specify the version of Visual Studio used for integration in the IDE Integration portion of the installation wizard. If you have several versions of Visual Studio and want to instruct the installation wizard to use a specific version for integration, click the Customize link and specify the required version. For example:

Note

You can only integrate one version of VTune Profiler into Visual Studio IDE.

Integrate VTune Profiler into Visual Studio After Installation

If you have already installed VTune Profiler and need to integrate it into Visual Studio IDE, do the following:

  1. Open the installation wizard from Control Panel > Programs > Uninstall a program > Intel® VTune™ Profiler > Change.

  2. In the Installed Products window, select the Modify > Add/Remove Components option from the drop-down menu.

  3. Click through to step 3: Integrate IDE. Select the required version of Visual Studio IDE.

  4. Click the Next arrow button to complete the update.

Open VTune Profiler in Visual Studio IDE

Once you have integrated VTune Profiler in Visual Studio, open the IDE. The toolbar displays icons to start VTune Profiler and profile with it.

You can also access VTune Profiler from the Tools menu in the IDE.

Load a project in the Solution Explorer window. Once you have compiled it, you can profile with VTune Profiler. When you click the Open VTune Profiler icon from the toolbar, the application opens to the Welcome Page.

The graphical interface of VTune Profiler integrated into Visual Studio is similar to the standalone VTune Profiler interface.

Configure VTune Profiler for Visual Studio

To configure VTune Profiler options in the Visual Studio IDE, click the pull-down menu next to the Open VTune Profiler icon () and select Options...:

If you need to change environment settings, however, read the documentation provided for the Visual Studio product.

From the standalone interface, you can access VTune Profiler options via the File > Options... menu.

Note

VTune Profiler does not support the use of CMakePresets.json in Visual Studio.

Supported Visual Studio Projects

VTune Profiler supports the following Visual Studio project types:

Related information
VTune Profiler Release Notes
VTune Profiler System Requirements