Visible to Intel only — GUID: GUID-CF2F3E3D-C086-4792-B1F2-165956EFC407
Visible to Intel only — GUID: GUID-CF2F3E3D-C086-4792-B1F2-165956EFC407
prof-use, Qprof-use
Enables the use of profiling information during optimization.
Linux: |
-prof-use[=keyword] -no-prof-use |
macOS: |
-prof-use[=keyword] -no-prof-use |
Windows: |
/Qprof-use[:keyword] /Qprof-use- |
keyword |
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 /Qfnsplit (Windows*) and -fnsplit (Linux* and macOS) .
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 [Q]prof-hotness-threshold.
Visual Studio: General > Profile Guided Optimization
Eclipse: Optimization > Profile Guided Optimization
Xcode: None
None