Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All
Important This document may not represent best practices for current development, links to downloads and other resources may no longer be valid. Current recommended version can be found here.

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 marks 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 <drive>:\Program Files\Microsoft Visual Studio 9\Team Tools\Performance Tools\PerfSDK directory.

Community Additions

© 2015 Microsoft