We recommend using Visual Studio 2017

Visual Studio Profiler API Reference (Native)

Visual Studio Profiler APIs allow you to programmatically control the amount of data collected, and insert both timestamp and profile mark during profiling. To use native APIs, you include VSPerf.h header file and add the VSPerf.lib in your project.


By default, VSPerf.h and VSPerf.lib are located in C:\Program Files\Microsoft Visual Studio 8\Team Tools\Performance Tools\PerfSDK directory.

In This Section

See Also