Data Collection Control Window

[This documentation is for preview only, and is subject to change in later releases. Blank topics are included as placeholders.]

The Data Collection Control window is a tool window in the Visual Studio integrated development environment (IDE). The Data Collection Control window contains a single row of buttons on the toolbar. The display window contains a list of marks that you can insert into the profiling data file. 

To open the Data Collection Control window, you must start a performance session and the session property Launch Data Collection Control must be selected in the session property page. By default, Launch Data Collection Control is selected.

Data Collection Control Toolbar

The following command buttons are available in the Data Collection Control window:

  • Insert Mark - Inserts the selected mark into the profiling data file.

  • Pause Collection - Suspends data collection during run time.

  • Resume Collection - Resumes paused data collection during run time.

  • Add Row - Inserts a new mark row into the list of marks.

  • Remove Row - Removes the selected mark row.

  • Attach / Detach - Attach opens the Attach Profiler to Process dialog box where you specify a running process to start profiling. Detach ends profiling data collection when the profiler has been attached to a process. The process itself is not stopped.

  • Stop - Immediately ends the profiled process and profiling data collection.

Marks

The Marks list displays available profiling marks that you can insert into the profiling data file. Profiling marks can be used to filter the data displayed in the Profiling Tools Report views.

Profiling marks are listed with a numeric identifier and a name. You can insert marks that have the same name multiple times in one profiling data file. The profiler automatically increments the mark identifier when one is inserted into the file.

The Marks list is prepopulated with a list of common marks. You can rename, add, or delete marks from the list. Marks are visible in the Marks View.

For more information about how to configure marks, see How to: Configure Profiling Marks. For more information about how to add marks during run time, see How to: Insert Marks in a Profiler Data File.

See Also

Concepts

Controlling Data Collection in Profiling Tools

Other Resources

Overviews (Profiling Tools)