How to: Choose Collection Methods
Performance tools support two methods of profiling code: sampling and instrumentation. You can use the performance session property to specify the most appropriate collection method for your application. If you are using command-line tools, see Command-line Tools section of the documentation for more information.
To choose a collection method
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.
For more information, see Understanding Performance Terms and Guidelines for Using Performance Tools.
See Also
Concepts
Guidelines for Using Performance Tools
Performance Session Overview