How to: Choose Sampling Event
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 Sampling Event

A sample event is used to collect performance data at the specified interval. The following sample events are available:

  • Clock cycles - for CPU bound problems

  • Page faults - for memory related problems

  • System calls - for I/O related problems

  • Performance counter - for low-level performance problems

To choose a sample event

  1. In Performance Explorer, right-click the performance session, and then click Properties.

  2. In the Property Pages, click the Sampling properties.

  3. From the Sample event drop-down list, select the sample event you want to use for profiling your application.

    The Available performance counters are enabled only if you choose Performance counter from the Sample event drop-down list.

See Also

© 2015 Microsoft