Delay Sampling

Delay sampling provides you time to execute your application before the VTuneTM Performance Analyzer starts sampling. You can specify the Delay sampling time when configuring the sampling collector. When you run an Activity configured with the sampling collector, the VTune analyzer's sampling driver waits for the time specified in Delay sampling before it starts sampling.  

To delay sampling:

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

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

Any delay time you specify is included in the Duration you specify when configuring the Activity. To make sure you run the Activity long enough to collect the required number of samples, increase the Duration to include the delay time.