Configuring Performance Sessions
By using Visual Studio Profiling Tools, you can collect a wide variety of performance data for a large number of application types. This section shows you how to use the Performance Wizard and properties of the performance session and target binary to configure Profiling Tools to collect the data that interests you. Profiling Tools configuration properties can also be used to control how much data is collected in a profiling run. For more information, see Controlling Data Collection.
Set the basic profiling options: You should configure Visual Studio to use the Microsoft symbol server. This will make sure that you have access to symbols, such as function and parameter names, for the current version of Windows and other Microsoft applications. You can also specify other general options before a profiling session starts, such as system permissions to the profiling tools and the names of profiling data files.
Specify the data that you want to collect: The procedures that you use to configure a profiling session depend on the type of target application that you want to profile and the type of performance data that you want to collect.
Set advanced configuration options: When you profile .NET Framework applications that load multiple versions of the common language run-time (CLR), you can specify which version to profile. When you have multiple .exe files in a performance session, you can set the start order of the binaries.