Enables the use of profiling information during optimization.
IA-32, Intel® 64, IA-64 architectures
Linux and Mac OS X: | -prof-use[=arg] -no-prof-use |
Windows: | /Qprof-use[:arg] /Qprof-use- |
arg |
Specifies additional instructions. Possible values are:
|
-no-prof-use or /Qprof-use- |
Profiling information is not used during optimization. |
This option enables the use of profiling information (including function splitting and function grouping) during optimization. It enables option -fnsplit (Linux) or /Qfnsplit (Windows).
This option instructs the compiler to produce a profile-optimized executable and it merges available profiling output files into a pgopti.dpi file.
Note that there is no way to turn off function grouping if you enable it using this option.
To set the hotness threshold for function grouping and function ordering, use option -prof-hotness-threshold (Linux) or /Qprof-hotness-threshold (Windows).
None
Optimizing Applications:
Basic PGO Options
Example of Profile-Guided Optimization