About Pause/Resume APIs             

Use the Pause/Resume API to collect data only on specific sections of your code instead of the full application run and to pause/resume the Activity with multiple runs.

Before using the Pause/Resume APIs, make sure to prepare your compilation and running environment following the steps in the Before You Begin Controlling Data Collection topic.

The following functions enable pausing and resuming data collection during sampling and call graph profiling:

In between the calls to VTPause() and VTResume() performance data is not collected.

note

API-related topics