Controlling Data Collection in Profiling Tools

This topic applies to:

Visual Studio Ultimate

Visual Studio Premium

Visual Studio Professional 

Visual Studio Express

Topic applies Topic applies Topic does not apply Topic does not apply

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


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.

Insert profiling marks: Profiling marks insert data points in the profiling data file that you can then use to filter Profiling Tools views and reports.

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.

Configuring Performance Sessions for Profiling Tools

See Also


Analyzing Application Performance by Using Profiling Tools