Visual Studio Profiler API Reference (Native)
11/15/2016
2 分钟可看完
本文内容
Note
This article applies to Visual Studio 2015. If you're looking for the latest Visual Studio documentation, see Visual Studio documentation. We recommend upgrading to Visual Studio 2019. Download it here
Visual Studio Profiler APIs allow you to programmatically control the amount of data collected, and insert both timestamp and profile marks during profiling. To use native APIs, you include VSPerf.h header file and add the VSPerf.lib in your project.
Note
By default, VSPerf.h and VSPerf.lib are located in :\Program Files\Microsoft Visual Studio 9\Team Tools\Performance Tools\PerfSDK directory.
In This Section
See Also