profile-functions, Qprofile-functions

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

IDE Equivalent

None

Architectures

IA-32, Intel® 64 architectures

Syntax

Linux and Mac 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.

Alternate Options

None

See Also


Submit feedback on this help topic

Copyright © 1996-2011, Intel Corporation. All rights reserved.