How to: Choose Collection Methods
Important This document may not represent best practices for current development, links to downloads and other resources may no longer be valid. Current recommended version can be found here. ArchiveDisclaimer

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

  1. In Performance Explorer, select the performance session.

    A performance session file name has a .psess extension.

  2. Right-click the performance session, and then click Properties.

  3. In the Property Pages, click the General properties.

  4. Click Sampling or Instrumentation.

    For more information, see Understanding Performance Terms and Guidelines for Using Performance Tools.

See Also

© 2015 Microsoft