Intel® VTune™ Amplifier
Some configuration options provided by the Intel® VTune™ Amplifier incur collection overhead and increase the result size. If required, consider disabling or modifying these options either by editing the predefined analysis configuration or by creating a new custom analysis type.
|
Options Incurring Collection Overhead |
Description |
To Disable/Modify This Option |
Affected Analysis Types |
|---|---|---|---|
|
Collect context switches |
Use this option to enable collection of advanced call stacks and thread context switches for hardware event-based sampling analysis types. By default, this option is disabled. You may enable the call stack collection, either in the predefined Advanced Hotspots analysis type or in a custom hardware event-based sampling analysis type. |
From GUI for the Advanced Hotspots analysis:
From GUI for the custom analysis:
From CLI for the Advanced Hotspots analysis: Use the -knob collection-detail=hotspots-sampling option. For example: $ amplxe-cl -collect advanced-hotspots -knob collection-detail=hotspots-sampling -d 50 -r matrix_r001 From CLI for the custom analysis: Use the -knob enable-stack-collection=false option. For example: $ amplxe-cl -collect-with runsa -knob enable-stack-collection=false -knob event-config=CPU_CLK_UNHALTED.REF_TSC:sa=1800000,CPU_CLK_UNHALTED /home/test/sample |
any custom hardware event-based sampling analysis types |
|
Sampling interval |
Configure the amount of wall-clock time the Intel® VTune™ Amplifier waits before collecting each sample. The smaller the sampling interval, the larger the number of samples collected and written to disk. The minimal value of the sampling interval depends on the system:
|
From GUI for the Advanced Hotspots analysis:
From GUI for the custom analysis:
From CLI, use the -knob sampling-interval=<value> option. For example: $ amplxe-cl -collect-with runss -knob sampling-interval=100 -knob cpu-samples-mode=stack -knob signals-mode=stack -knob waits-mode=stack -knob io-mode=stack /home/test/sample |
Advanced Hotspots and any custom user-mode sampling and tracing analysis types |
|
Stack size, in bytes |
Specify the size of a raw stack (in bytes) to process during hardware event-based sampling collection. Zero value means unlimited size. Possible values are numbers between 0 and 2147483647. |
From GUI:
From CLI, use the -stack-size option, for example: $ amplxe-cl -collect-with runsa -knob enable-stack-collection=true -knob stack-size=8192 -knob enable-call-counts=true -app-working-dir /home/samples/nqueens_fortran -- /home/samples/nqueens_fortran/nqueens_parallel |
any custom hardware event-based sampling analysis types |