How to: Choose Collection Methods
The Visual Studio Team System Developer Edition Profiling Tools support two methods of collecting performance data: sampling and instrumentation. You can use the performance session Method property to specify the most appropriate collection method for your application. If you are using command-line tools, see Using the Profiling Tools From the Command-Line section of the documentation for more information.
To select a collection method using the Performance Wizard:
- On the second page of the wizard, select Sampling or Instrumentation.
To select a collection method using Performance Explorer
On the Performance Explorer toolbar, click the arrow next to the Method drop-down list.
Two options will appear: Sampling and Instrumentation.
Choose the collection method that you prefer.
To select a collection method using performance session properties
In Performance Explorer, select the performance session.
A performance session file name has a .psess extension.
Right-click the performance session, and then click Properties.
In the Property Pages, click the General properties.
Click Sampling or Instrumentation.