Quantcast
Viewing all articles
Browse latest Browse all 1853

Sampling Interval

For a user-mode sampling and tracing custom collection, configure the amount of wall-clock time the Intel® VTune™ Amplifier waits before collecting each sample (sampling interval).

For user-mode sampling and tracing analysis types (Basic Hotspots, Concurrency, and Locks and Waits), the sampling interval is used to calculate the target number of samples and the Sample After value. To change the sampling interval, create a custom user-mode sampling and tracing analysis type and use the CPU sampling interval, ms spin box to specify the required interval.

To determine an appropriate sampling interval, consider the duration of the collection, the speed of your processors, and the amount of software activity. For instance, if the duration of sampling time is more than 10 minutes, consider increasing the sampling interval to 50 milliseconds. This reduces the number of interrupts and the number of samples collected and written to disk. The smaller the sampling interval, the larger the number of samples collected and written to disk.

The minimal value of the sampling interval depends on the system:

  • 10 milliseconds for systems with a single CPU

  • 15 milliseconds for systems with multi-core CPUs


Viewing all articles
Browse latest Browse all 1853

Trending Articles