User Guide

Contents

duration

Specify the duration for collection (in seconds).

Syntax

-duration
=<value>
Arguments
unlimited
Collection duration is unbounded.
<seconds>
The duration in seconds.
Default
unlimited
Actions Modified
Description
The
duration
option is required for system-wide collection, and specifies the duration for collection (in seconds). System-wide collection occurs when the target is not specified on the command line when collection is initiated. It also can be used with when the target is specified, but you want to set a specific duration for data collection.
This command performs system-wide collection of Hotspots for 20 seconds.
vtune
-collect hotspots -knob sampling-mode=hw -duration=20
In this example, the
sample
target on Linux* is specified for a Threading analysis, but collection is limited to 60 seconds in duration.
vtune
-collect threading -duration=60 -- /home/test/sample

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