User Guide

Intel® VTune™ Profiler User Guide

ID 766319
Date 12/16/2022

A newer version of this document is available. Customers should click here to go to the newest version.

Document Table of Contents

<span class='option'>duration</span>

Specify the duration for collection (in seconds).

GUI Equivalent

Configure Analysis window > WHAT pane > Advanced section > Automatically stop collection after option





Collection duration is unbounded.


The duration in seconds.

Actions Modified

collect, collect-with


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

Did you find the information on this page useful?

Characters remaining:

Feedback Message