Controlling Data Collection in Profiling Tools
This topic applies to:
Visual Studio Ultimate |
Visual Studio Premium |
Visual Studio Professional |
Visual Studio Express |
---|---|---|---|
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. |
|
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. |
Related Sections
Configuring Performance Sessions for Profiling Tools