User Guide

Contents

Pause Collection from Command Line

Intel® VTune™
Profiler
offers different ways to pause the collection process, to resume a paused collection, or to stop a running collect process from the command line.

Start collection in the paused mode, and then automatically resume collection

To start data collection in the paused mode, use the action option as follows:
vtune
-collect <
analysis_type
> -start-paused [--] <
target
>

Resume a paused collection

There are two ways to resume a paused collection.
  • To resume collection automatically after a specified amount of time, use the
    resume-after
    option.
    vtune
    -collect <
    analysis_type
    > -start-paused -resume-after=<
    value
    > [--] <
    target
    >
    where
    • <
      analysis_type
      >
      is the type of analysis to run
    • <
      value
      >
      is the time of delay in seconds
    • <
      target
      >
      is the target to analyze
  • To resume collection manually, use the
    command
    action with the
    resume
    argument.
    vtune
    -command resume
Examples
This example starts the Hotspots analysis of the sample Linux* application in the paused mode, and then resumes collection after a 50 second pause.
vtune -collect hotspots -start-paused -resume-after=50 -- /home/test/sample
This example starts the Hotspots analysis of the
sample
Windows* application in the paused mode.
vtune -collect hotspots -start-paused -- C:\test\sample.exe

Product and Performance Information

1

Performance varies by use, configuration and other factors. Learn more at www.Intel.com/PerformanceIndex.