User Guide

Contents Options

Depending on options specified, collect basic data, do markup, and collect refinement data. By default, execute all steps. For any step besides markup, you must specify an application argument.


advisor-python <APM>/
[--options] -- <target> [target-options]
on Linux* OS or
on Windows* OS.


The following table describes options that you can use with the
script. The target application to analyze and application options, if any, must be preceded by two dashes and a space.
Required. Specify the path to the
Intel® Advisor
project directory.
Show help message and exit.
Specify output verbosity level:
  • 1 - Show only error messages. This is the least verbose level.
  • 2 - Show warning and error messages.
  • 3 (default) - Show information, warning, and error messages.
  • 4 - Show debug, information, warning, and error messages. This is the most verbose level.
This option affects the console output and debug log, but does not affect logs and report results.
Disable cache simulation during collection. The model assumes 100% hit rate for cache.
Usage decreases analysis overhead.
Specify a configuration file by absolute path or name. If you choose the latter, the model configuration directory is searched for the file first, then the current directory.
You can specify several configurations by using the option more than once.
Specify the directory to put all generated files into. By default, results are saved in
. If you specify an existing directory or absolute path, results are saved in this directory. The new directory is created if it does not exist. If you only specify the directory
, results are stored in
Specify a string to be prepended to output result filenames.
{basic, refinement, full}
{basic, refinement, full}
Specify the type of data to collect for an application:
  • basic
    - Collect basic data (Hotspots and FLOPs).
  • refinement
    - Collect refined data (Dependencies) for marked loops only.
  • full
    (default) - Collect both basic data for application and refined data for marked loops.
; use
--collect basic
; use
--collect refinement
; use
--collect full
Specify the executable process name to profile if it is not the same as the application to run. Use this option if you run your application via script or other binary.
Specify the
only, not the full path.
Analyze regions with system calls inside. The actual presence of system calls inside a region may reduce model accuracy.
Do not analyze regions that contain system calls.
Enable data collection and analysis for applications with DPC++, OpenMP* target, and OpenCL™ code on a base platform.
Enable SLM modeling in the memory hierarchy model. Must be used both with
Disable analysis of JIT functions.
[{all, generic, regions, omp, dpcpp, daal, tbb}]
[{all, generic, regions, omp, dpcpp, daal, tbb}]
Mark up loops after survey or other data collection. Use this option to limit the scope of further collections by selecting loops according to a provided parameter:
  • all
    - Get lists of loop IDs to pass as the option for further collections.
  • generic
    (default) - Mark up all regions and select the most profitable ones.
  • regions
    - Select already existing parallel regions.
  • omp
    - Select outermost loops in OpenMP* regions.
  • dpcpp
    - Select outermost loops in Data Parallel C++ (DPC++) regions.
  • daal
    - Select outermost loops in
    Intel® oneAPI Data Analytics Library
  • tbb
    - Select outermost loops in
    Intel® oneAPI Threading Building Blocks (oneTBB)
, or
selects loops in the project so that the corresponding collection can be run without loop selection options.
You can specify several parameters in a comma-separated list. Loops are selected if they fit any of specified parameters.
Enable keeping source code cache within a project.
Show the
Intel® Advisor
CLI commands for
appropriate for the specified configuration. No actual collection is performed.
Enable data transfer analysis.
Disable data transfer analysis. Use this option to reduce collection overhead.
Attribute heap-allocated objects to the analyzed loops that accessed these objects. Enabling can increase collection overhead.
Disable attributing heap-allocated objects to the analyzed loops that accessed the objects. Disabling can decrease collection overhead.
Run data collection without collecting data distribution over stacks. You can use this option to reduce overhead at the potential expense of accuracy.
Track accesses to stack memory.
Disable tracking accesses to stack memory.


  • Collect full data on
    with default configuration and save the project to the
    advisor-python $APM/ ./advi -- myApplication
  • Collect refinement data for OpenMP* and DPC++ loops on
    with a custom configuration file
    and save the project to the
    advisor-python $APM/ ./advi --collect refinement --markup [omp,dpcpp] --config ./config.toml -- myApplication
  • Get commands appropriate for a custom configuration specified in the
    file to collect data separately with
    . The commands are ready to copy and paste.
    advisor-python $APM/ ./advi --dry-run --config ./config.toml

Product and Performance Information


Performance varies by use, configuration and other factors. Learn more at