Intel® VTune™ Profiler

User Guide

ID 766319
Date 3/22/2024
Public

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

Document Table of Contents

Pause Data Collection

You can configure the analysis run to launch the application but start collecting data after some delay or pause the data collection in the middle of the application execution. This is useful if you do not want to include all the warm-up activities in the analysis results or you want the data collection to start when a specific event occurs (for example, message box or mouse click). Intel® VTune™ Profiler provides several options to pause and resume your analysis:

Start Data Collection Paused, Then Manually Resume

To manually start and resume the analysis, do the following:

  1. Create/open a project.

  2. Click the Configure Analysis button on the toolbar.

    The New Amplifier Result result tab opens.

  3. Specify and configure your analysis target on the WHAT pane.

  4. Switch to the HOW pane and click the Browse button to select and configure, if required, an analysis type.

  5. Click the Start Paused button on the command bar.

    VTune Profiler runs the application. The Start Paused button is replaced with the Resume button.

  6. Click the Resume button on the command bar to start data collection.

Use the Pause/Resume Button to Pause at Any Time of Application Execution

  1. Click the Start button on the command bar to run the selected analysis.

    When analysis starts running, the command bar is updated with a set of analysis management buttons.

  2. When you need to pause the collection, click the Pause button on the command bar.

    VTune Profiler collects no data but your application keeps running. The Start button on the command bar is replaced with the Resume button.

  3. When you need to resume the data collection, click the Resume button on the command bar.

    VTune Profiler continues collecting data.

Use the Pause/Resume API to Insert Calls into Your Code to Start and Stop the Analysis

To get details on using the Pause/Resume API, see the Collection Control API topic.

When the data collection is complete, the VTune Profiler displays paused regions in the Timeline pane as follows: