Use the General configuration panel from the Configure Sampling dialog box to:
select event-based sampling mechanism and choose a Calibration option
specify default settings for the sampling collector
specify when sampling data collection stops
specify the processors for collecting samples
Right-click your Activity in the Tuning browser and select Modify Collectors to get to the Configure Sampling dialog box.
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:
|
|
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. |
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. |
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.
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. |