User Guide

Contents

target-duration-type

Adjust the sampling interval for longer-running targets.

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
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.
This option is deprecated. Use the option instead.
Perform a Hotspots analysis using a medium sampling interval that is appropriate for targets with a duration of 15 minutes to 3 hours.
vtune -collect hotspots -knob sampling-mode=hw -target-duration-type medium -- MyApp

Product and Performance Information

1

Intel's compilers may or may not optimize to the same degree for non-Intel microprocessors for optimizations that are not unique to Intel microprocessors. These optimizations include SSE2, SSE3, and SSSE3 instruction sets and other optimizations. Intel does not guarantee the availability, functionality, or effectiveness of any optimization on microprocessors not manufactured by Intel. Microprocessor-dependent optimizations in this product are intended for use with Intel microprocessors. Certain optimizations not specific to Intel microarchitecture are reserved for Intel microprocessors. Please refer to the applicable product User and Reference Guides for more information regarding the specific instruction sets covered by this notice.

Notice revision #20110804