Dela via


Profiling Tools APIs

Applies to: yesVisual Studio noVisual Studio for Mac

Note

This article applies to Visual Studio 2017. If you're looking for the latest Visual Studio documentation, see Visual Studio documentation. We recommend upgrading to the latest version of Visual Studio. Download it here

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.

In this section

Visual Studio Profiler API Reference (Native)

Describes the C++ Profiling Tools methods.

Profiler

Describes the .NET Profiling Tools methods.

Walkthrough: Using Profiler APIs

Learn how to use the .NET Profiling Tools methods in this complete example.

Control data collection

See also