User Guide

Intel® VTune™ Profiler User Guide

ID 766319
Date 12/16/2022
Public

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

Document Table of Contents

Limit Data Collection

Specify a predefined amount of data to collect by setting up the expected result size or collection time.

This prevents from collecting a large amount of data that may slow down the data processing. For example, it may happen when running Threading Analysis on frequently contended applications or when analyzing long profiles.

Typically, the default maximum amount of raw data used by the Intel® VTune™ Profiler for the result file is enough to identify a problem.

When the data size limit is reached and the data collection is suspended, click the Stop button on the command toolbar at the bottom of the Configure Analysis window. VTune Analyzer proceeds with the analysis of the collected data. If you want to extend the data collection for your target application for future analysis runs, you may modify the default size limit for collected data as follows:

  1. Click the Configure Analysis button on the VTune Profiler toolbar.
  2. Select a required target system from the WHERE pane and a target type from the WHAT pane.
  3. From the Advanced section of the WHAT pane, use the Limit collected data by group of options and choose any of the following mechanisms:
    • Result size from collection start, MB: Set the maximum possible result size (in MB) to collect. VTune Profiler will start collecting data from the beginning of the target execution and suspend data collection when the specified limit for the result size is reached. For unlimited data size, specify 0.

    • Time from collection end, sec: Set the timer enabling the analysis only for the last seconds before the target run or collection is terminated. For example, if you specified 2 seconds as a time limit, the VTune Profiler starts the data collection from the very beginning but saves the collected data only for the last 2 seconds before you terminate the collection.

    Limiting data collection to the beginning or end of the target execution reduces the size of the raw data gathered by the VTune Profiler and enables you to quickly start analyzing collection results. If you want to keep the default data size limit but continue collecting data on the next portion of the target execution, run the analysis after a delay using the Start Paused option.