Intel® Advisor User Guide

ID 766448
Date 7/13/2023
Public

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

Document Table of Contents

dynamic

Show (in a Survey report) how many instructions of a given type actually executed during Trip Counts & FLOP analysis.

GUI Equivalent

Code Analytics

Syntax

--dynamic

--no-dynamic

Default

On (dynamic)

Actions Modified

report=survey

Usage

Dynamic instruction mix is counted for the entire execution of the application; static instruction mix is counted per iteration. The static-instruction-mix, dynamic, and mix options work together in the following manner:

  • Collect static instruction mix data: --collect=survey --static-instruction-mix

    (In the GUI: Static instruction mix data is calculated on demand.)

  • Collect dynamic instruction mix data (and static instruction mix data, from which dynamic mix data is calculated): --collect=tripcounts --flop

  • Show static instruction mix data in a Survey report: --report=survey --mix --no-dynamic

  • Show dynamic mix instruction data in a Survey report: --report=survey --mix --dynamic

  • A Survey report cannot show both static and dynamic mix instruction data.

    (In the GUI: Code Analytics can show both static and dynamic instruction mix data.)

Example

  1. Run a Survey analysis.

  2. Run a Trip Counts & FLOP analysis. Collect dynamic instruction mix data (and static instruction mix data, from which dynamic mix data is calculated).

  3. Generate a Survey report. Show dynamic instruction mix data. (dynamic is on, by default).

advisor --collect=survey --project-dir=./advi_results -- ./myApplication
advisor --collect=tripcounts --flop --project-dir=./advi_results -- ./myApplication
advisor --report=survey --mix --project-dir=./advi_results
  1. Run a Survey analysis. Collect static instruction mix data.

  2. Generate a Survey report. Show static instruction mix data.

advisor --collect=survey --static-instruction-mix --project-dir=./advi_results -- ./myApplication
advisor --report=survey --mix --no-dynamic --project-dir=./advi_results

See Also