Instruments a program for profiling and gathers extra information for code coverage tools.
None
IA-32, IntelŪ EM64T, IntelŪ ItaniumŪ architecture
Linux: | -prof-genx |
Windows: | /Qprof-genx |
None
OFF | Programs are not instrumented for profiling. |
This option instruments a program for profiling and gathers extra information (source position) for code coverage tools.
Like -prof-gen (Linux) or /Qprof-gen (Windows), it is used in phase 1 of the Profile Guided Optimizer (PGO) to instruct the compiler to produce instrumented code in your object files in preparation for instrumented execution. It also creates a new static profile information file (.spi).
If you do not use a code coverage tool, this option may slow parallel compile times.
If you are doing a parallel make, this option will not affect it.
Linux: -prof_genx
Windows: /Qprof_genx
prof-gen, Qprof-gen compiler options