Intel® VTune™ Amplifier XE and Intel® VTune™ Amplifier for Systems Help
Adjust the sampling interval for longer-running targets.
Analysis Target Setup > Duration time estimate
-target-duration-type veryshort | short | medium | long |
veryshort |
Target takes less than 1 minute to run. |
short |
Target takes between 1 and 15 minutes to run. |
medium |
Target takes 15 minutes to 3 hours to run. |
long |
Target takes more than 3 hours to run. |
If your target runs 15 minutes or longer, or if it runs less than one minute, use the target-duration action-option to set a different duration type. The collect or collect-with action uses this value to adjust the sampling interval, which determines how much data is collected. For longer-running targets, the sampling interval is greater (less frequent) to reduce the amount of collected data. For very short-running targets, the sampling interval is smaller (more frequent). For hardware event-based analysis types, a multiplier applies to the configured Sample After value.
Perform an Advanced Hotspots analysis using a medium sampling interval that is appropriate for targets with a duration of 15 minutes to 3 hours.
$ amplxe-cl -collect advanced-hotspots -target-duration-type medium -- MyApp