Intel® VTune™ Amplifier XE and Intel® VTune™ Amplifier for Systems Help
Enable multiple runs of the event-based sampling data collection for more accurate analysis results.
Intel® VTune™ Amplifier runs the hardware event-based sampling analysis to collect data based on the events defined for the selected analysis type. The number of events it can monitor during a single run is limited by the number of performance counters in your processor. If you enable multiple runs of the data collection, the VTune Amplifier runs the hardware event-based sampling data collector as many times as required to collect data on all the events specified for the analysis type. If you specified an application to launch as an analysis target, the VTune Amplifier launches your application each time the hardware event-based sampling collector runs.
VTune Amplifier allows to avoid multiple runs of the data collection by multiplexing the use of physical counters within a single sampling run. Event multiplexing removes the need for multiple runs of the application, thereby reducing the time needed to complete sampling collection at the cost of lower precision of the result data. Event sample counts collected in the multiplexed mode are extrapolated to the total collection runtime.
Event multiplexing is also useful if the application does not have a long steady state or takes a long time to get to steady state. On the other hand, if application initialization is short and it gets to steady state quickly, then you can do multiple short runs and will not need to do event multiplexing.
To enable/disable multiple runs of the data collection:
If you enable the multiple run mode, the VTune Amplifier runs the data collection several times for each event set. You can easily detect these multiple runs on the Timeline pane: they are separated with the grayed out paused areas.
The multiple run mode affects the metrics calculation. All "total" types of metrics (Total Time, Elapsed Time) are calculated for the whole analysis session that includes multiple runs while all other metrics are provided per run.
If you want to avoid running the application multiple times but get more accurate multiplexing data, you may enable the Use precise multiplexing option available for the Custom hardware event-based sampling analysis configuration. This option enables a multiplexing algorithm that switches event groups on each sample. This mode provides more reliable statistics for applications with a short execution time. You may also consider enabling the precise multiplexing if the MUX Reliability metric for the General Exploration analysis result is low.