User and Reference Guide for the Intel® Fortran Compiler 14.0

profile-functions, Qprofile-functions

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

Architecture Restrictions

Not available on Intel® 64 architecture targeting Intel® MIC Architecture

Syntax

Linux OS and OS X:

-profile-functions

Windows OS:

/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


Submit feedback on this help topic