Profiling Tools APIs
This article applies to Visual Studio 2015. If you're looking for the latest Visual Studio documentation, use the version selector at the top left. We recommend upgrading to Visual Studio 2019. 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.