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

Concepts

Guidelines for Using Performance Tools
Performance Session Overview

Other Resources

Command-line Tools