Intel® Fortran Compiler 16.0 User and Reference Guide

profile-functions, Qprofile-functions

Inserts instrumentation calls at a function's entry and exit points.

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 OS X:

-profile-functions

Windows:

/Qprofile-functions

Arguments

None

Default

OFF

No instrumentation calls are inserted at a function's entry and exit points.

Description

This option inserts instrumentation calls at a function's entry and exit points within a single-threaded application to collect the cycles spent within the function to produce reports that can help in identifying code hotspots.

When the instrumented application is run, this option causes the generation of a loop_prof_funcs_<name>.dump file, where <name> is a timestamp for the 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