User Guide

Contents

anomaly-detection
Command Line Analysis

Use Anomaly Detection to identify performance anomalies in frequently recurring intervals of code like loop iterations. Perform fine-grained analysis at the microsecond level.
This is a
PREVIEW FEATURE
. A preview feature may or may not appear in a future production release. It is available for your use in the hopes that you will provide feedback on its usefulness and help determine its future. Data collected with a preview feature is not guaranteed to be backward compatible with future releases. Please send your feedback to parallel.studio.support@intel.com or to intelsystemstudio@intel.com.

Syntax

vtune
-collect anomaly-detection [-knob <
knobName=knobValue
>] [--] <
target
>
Knobs:
  • Specify the maximum number (10-5000) of code regions to load for detailed analysis. To load details efficiently, maintain this number at or below 1000.
    Default value :
    1000
    Range :
    10-5000
  • Specify the maximum duration (0.001-1000ms) of analysis per code region.
    Default value :
    100 ms
    Range :
    0.001-1000ms
For the most current information on available knobs (configuration options) for Anomaly Detection analysis, enter:
vtune
-help collect anomaly-detection
Example
This example shows how to run Anomaly Detection analysis on a sample application called
myApplication
. The analysis runs over 1000 code regions, analyzing each region for 300 ms.


    
vtune -collect anomaly-detection -knob ipt-regions-to-load=1000 -knob max-region-duration=300 -- /home/test/myApplication
If you want to transfer the collected data to a different system for analysis, you must archive the result by moving all related binaries to the result folder. After Anomaly Detection analysis completes, run this command:
vtune -archive -r <location_of_result>

What's Next

When the data collection is complete, do one of the following to view the result:

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