インテル® VTune™ Amplifier 2018 ヘルプ

target-duration-type

Adjust the sampling interval for longer-running targets.

GUI Equivalent

Analysis Target tab > Duration time estimate

Syntax

-target-duration-type veryshort | short | medium | long

Arguments

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.

Default

short
This is appropriate for a target that runs for 1 to 15 minutes.

Actions Modified

collect, collect-with

Description

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.

Note

This option is deprecated. Use the -knob sampling-interval option instead.

Example

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

関連情報