User Guide

  • 2020
  • 06/18/2020
  • Public Content
Contents

Limit Data Collection from Command Line

Limiting data collection 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.
To limit the amount of raw data, use any of the following options:

Set the Maximum Possible Result File (in MB)

Use the data-limit command line option to limit the amount of raw data to be collected by setting the maximum possible result size (in MB).
VTune
Profiler
starts collecting data from the beginning of the target execution and suspends data collection when the specified limit for the result size is reached. For unlimited data size, specify 0.
vtune
-collect <
analysis_type
> -data-limit=<
value
> -- <
target
>
Example
Start a Hotspots analysis on the specified Linux* target and limit the result size to 200 MB:
vtune
-collect hotspots -data-limit=200 -- /home/test/myApplication

Set the Analysis Timer for the Last Seconds of Collection

Use the ring-buffer command line option to limit the amount of raw data to be collected by setting the timer that enables the analysis only for the last seconds before the target or collection is terminated. For example, if you specify 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.
vtune
-collect <
analysis_type
> -ring-buffer=<
value
> -- <
target
>
Example
Enable a Hotspots analysis on the specified Windows* target for the last 10 seconds before the collection is terminated:
vtune
-collect hotspots -ring-buffer=10 -- C:\test\myApplication.exe

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