Compartir a través de


Controlling Data Collection

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 the latest version of Visual Studio. Download it here

Visual Studio Profiling Tools enable you to control when profiling data is collected during a performance session and to specify the functions that are profiled. This section describes how to start and stop data collection from the Performance Explorer and Data Collection Control windows and how to limit the objects for which profiling data is collected.

Common Tasks

Task Related Content
Start and stop profiling: You can start to profile an application when the application starts, or you can attach the profiler to a process that is already running. When the target application is running, you can pause and resume data collection. You end a profiling session by closing the target application or detaching the profiler from a running process. - How to: Start and End Performance Data Collection
- How to: Attach and Detach Performance Tools to Running Processes
- How to: Pause and Resume Performance Data Collection
Configure instrumentation profiling to limit the collected data: You can use performance session configuration properties to limit the data that is collected in profiling runs that use the instrumentation method. You can include or exclude specific .dll files, namespaces, classes, and functions. You can also exclude functions that do not meet a size threshold that you specify. - How to: Limit Instrumentation to Specific DLLs
- How to: Limit Instrumentation to Specific Functions
- How to: Exclude or Include Short Functions from Instrumentation

Configuring Performance Sessions

See Also

Performance Explorer