Delay Sampling

The Delay sampling option enables starting data collection after the specified delay. This enables the Application to Launch to perform all warm-up operations before the data collection starts. When you run an Activity configured with the sampling collector, the VTune(TM) Performance Analyzer waits for the time specified in Delay sampling before it starts sampling.

 To specify Delay Sampling:

  1. From the Configure Sampling dialog box, select the General tab.

  2. Check Delay sampling.

  3. Type in the amount of time you want to delay sampling.

To specify Delay Sampling from the command line:

use the -sd | -sampling-delay option and specify the delay time in seconds.  

Command-line example:

>vtl activity -d 25 -c sampling -o "-sd 5" run

This example creates the Activity with the sampling collector and runs the Activity for 25 seconds. The driver has 5-second delay before it begins taking samples.

note

The delay time you specify is included in the Duration. To make sure you run the Activity long enough to collect the required number of samples, add the delay time to the Duration in the Configure Sampling Activity dialog box., or using the command line

Other Sampling Configuration Options