Share via


How to: Pause and Resume Profiling

From the Data Collection Control window, you can control the collection of profiling data interactively. Controlling data collection enables you to reduce the size of the profile data file, and to collect data only for those operations that you are interested in. You can pause and resume profiling multiple times in a performance session.

Note

You can also start the performance session with profiling paused, then resume profiling at a later point in the program execution. To start the performance session with profiling paused, select the Launch with Profiling Paused command from the launch button list on the Performance Explorer toolbar.

Procedure

To pause profiling

  • On the Data Collection Control toolbar, click Pause Collection.

To resume profiling

  • On the Data Collection Control toolbar, click Resume Collection.

See Also

Tasks

How to: Start and End Profiling

Concepts

Controlling Data Collection in Profiling Tools

Data Collection Control Window