prof-func-order, Qprof-func-order

Enables or disables function ordering if profiling information is enabled.

IDE Equivalent

None

Architectures

IA-32, Intel® 64 architectures

Syntax

Linux:

-prof-func-order

-no-prof-func-order

Mac 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) or /Qprof-use (Windows), -prof-func-groups (Linux) and /Qprof-func-groups (Windows) are set and function grouping is enabled. However, if you explicitly enable -prof-func-order (Linux) or /Qprof-func-order (Windows), 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) or /Qprof-hotness-threshold (Windows).

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

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