Sampling interval is the amount of wall-clock time the Intel® VTune™ Amplifier waits before collecting each sample. For user-mode sampling and tracing analysis types (Hotspots, Concurrency, and Locks and Waits), the sampling interval is used to calculate the target number of samples and the Sample After value. You may change the default sampling interval using one of the following options:
<intKnob id="interval" displayName="%SamplingInterval"> <description>%SamplingIntervalDescription</description> <int:min>1</int:min> <int:max>1000</int:max> <int:defaultValue>10</int:defaultValue> </intKnob>
The configured value is applied to all analysis types.
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: