We recommend using Visual Studio 2017

Profiling Tools APIs


The new home for Visual Studio documentation is Visual Studio 2017 Documentation on docs.microsoft.com.

The latest version of this topic can be found at Profiling Tools APIs.

You can insert managed or native methods of the APIs of the Visual Studio Profiling Tools to control data collection in a profiling run. This section describes the methods of the APIs and describes how to use them.

Visual Studio Profiler API Reference (Native)
Describes the C++ Profiling Tools methods.

Describes the .NET Profiling Tools methods.

Walkthrough: Using Profiler APIs
Learn how to use the .NET Profiling Tools methods in this complete example.

Controlling Data Collection

Performance Explorer