Intel® Fortran Compiler 17.0 Developer Guide and Reference

profile-loops, Qprofile-loops

Inserts instrumentation calls at a function's entry and exit points, and before and after instrumentable loops.

Architecture Restrictions

Not available on Intel® 64 architecture targeting the Intel® Xeon Phi™ coprocessor x100 product family (formerly code name Knights Corner)

Syntax

Linux and macOS:

-profile-loops=keyword

Windows:

/Qprofile-loops:keyword

Arguments

keyword

Specifies which type of loops should have instrumentation. Possible values are:

inner

Inserts instrumentation before and after inner loops.

outer

Inserts instrumentation before and after outer loops.

all

Inserts instrumentation before and after all loops.

Default

OFF

No instrumentation calls are inserted at a function's entry and exit points, or before and after instrumentable loop.

Description

This option inserts instrumentation calls at a function's entry and exit points within a single-threaded application. For unthreaded applications, it also inserts instrumentation before and after instrumentable loops of the type listed in keyword.

When the instrumented application is run, this option causes the generation of a loop_prof_funcs_<name>.dump file and a loop_prof_funcs_<name>.dump file, where <name> is a timestamp for the run.

The same timestamp is used for the loop file and function file. This identifies that the loop data and function data were from the same program run.

The same data values are also dumped into the file loop_prof_<name>.xml for use with the data viewer application, unless you turn off the output format by setting the environment variable INTEL_LOOP_PROF_XML_DUMP to 0.

IDE Equivalent

None

Alternate Options

None

See Also