Intel® C++ Compiler XE 13.1 User and Reference Guides

prof-func-order, Qprof-func-order

Enables or disables function ordering if profiling information is enabled.

IDE Equivalent

None

Architectures

IA-32, Intel® 64 architecture

Syntax

Linux:

-prof-func-order

-no-prof-func-order

OS X:

None

Windows:

/Qprof-func-order

/Qprof-func-order-

Arguments

None

Default

-no-prof-func-order
or/Qprof-func-order-

Function ordering is disabled.

Description

This option enables or disables function ordering if profiling information is enabled.

For this option to be effective, you must do the following:

If you enable profiling information by specifying option -prof-use (Linux OS) or /Qprof-use (Windows OS), -prof-func-groups (Linux OS) and /Qprof-func-groups (Windows OS) are set and function grouping is enabled. However, if you explicitly enable -prof-func-order (Linux OS) or /Qprof-func-order (Windows OS), function ordering is performed instead of function grouping.

On Linux* systems, this option is only available for Linux linker 2.15.94.0.1, or later.

To set the hotness threshold for function grouping and function ordering, use option -prof-hotness-threshold (Linux OS) or /Qprof-hotness-threshold (Windows OS).

Alternate Options

None

Example

The following example shows how to use this option on a Windows system:

icl /Qprof-gen:globdata file1.c file2.c /Fe instrumented.exe
    ./instrumented.exe
icl /Qprof-use /Qprof-func-order file1.c file2.c /Fe feedback.exe

The following example shows how to use this option on a Linux system:

icl -prof-gen:globdata file1.c file2.c -o instrumented
    ./instrumented.exe
icl -prof-use -prof-func-order file1.c file2.c -o feedback

See Also


Submit feedback on this help topic