Profiling Tools APIs
Applies to: Visual Studio Visual 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.
Describes the .NET Profiling Tools methods.
Walkthrough: Using Profiler APIs
Learn how to use the .NET Profiling Tools methods in this complete example.