How to: Choose Collection Methods
The document is archived and information here might be outdated

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

Show:
© 2016 Microsoft