Configure Sampling: General Configuration Panel

Use the General configuration panel from the Configure Sampling dialog box to:

Right-click your Activity in the Tuning browser and select Modify Collectors to get to the Configure Sampling dialog box.

Sampling Mechanism

Event-based Sampling (EBS): After a specific number of processor events the VTune analyzer collects samples of the execution context. EBS is selected by default.
For EBS, you can choose from one of the following three Calibration options:

Option

Description

Don't Calibrate Sample After Value

Sample After value will not be calibrated for any event, even if some of them have calibration enabled.

Calibrate Sample After Value for all the selected events

Sample After value is calibrated for all the selected events, even if some of them have calibration disabled.

Calibrate Sample After Value based on the selected event properties

Sample After value is calibrated only for those events that have the calibration setting enabled.

This option is useful if you have experience with configuring the events in a separate file. For more information, contact technical support http://software.intel.com/en-us/articles/intel-vtune-performance-analyzer-for-linux-kb/

To disable or enable calibration for specific events:

  1. Click the Events configuration panel in the Configure Sampling dialog box.

  2. From the Event Groups pull down list, select the event group in which the event resides.
    Events from the selected event group appear in the Available Events field.

  3. Select and add the event to the Selected Events list.

  4. Select the event from the Selected Events list and click the Edit Event... button to launch the Edit Event dialog box.

  5. Uncheck/check the Calibration enabled checkbox.

Note

The delay time is included in the duration of the Activity. For example, if you want to sample for 10 seconds and set the delay time for 20 seconds, you should set the Activity to stop collection after a duration of 30 seconds.

Track thread creation

 

Check the Track Thread ID creation box if you want the VTune analyzer to track when threads are created. Thread IDs are repeated on some systems. This feature helps to identify specific threads and their origin. This can be especially useful if the IDs have been reused for new processes.

Terminate application when Activity ends

Check to automatically close your application when the Activity stops.

Display sampling results over time

 

Check to enable viewing sampling data over time.

Stop Collection

Select the condition that stops sampling data collection. Choose between when the Activity duration is over and when the application ends.

When application terminates (before duration completes)

Choose this option to stop data collection when your application completes execution. The VTune analyzer stops data collection even if the duration specified for the Activity is not complete.

Maximum samples collected

Choose this option to stop data collection when the maximum number of samples is collected.

note

It is possible not to choose between the two specified stop collection options, in this case the condition that stops the sampling data collection is the Activity Duration at the General panel of the Configure Sampling Activity dialog box.

List of CPUs Where Samples Are Collected

Set the processor mask (CPU mask) and specify on which processors the sampling data collection should run by using the following options:

Option

Description

All

Monitors all processors existing on a machine.

All available CPUs

Monitors all processors available for the current session.

System-wide CPU numbers

Monitors the processor with the specified numbers and/or within specified ranges.

Available CPU indexes

Monitors currently available processors with the specified indexes.

For example, a machine has 64 CPUs. The current session involves processors 33,39,40,51. To collect sampling data only on processors 33 and 39, set the CPU mask to 0-1.

Related Topics