Developer Guide and Reference

Contents

prof-gen, Qprof-gen

Produces an instrumented object file that can be used in profile guided optimization.

Syntax

Linux and macOS:
-prof-gen
[
=
keyword
[,
keyword
],...
]
-no-prof-gen
Windows:
/Qprof-gen
[
:
keyword
[,
keyword
],...
]
/Qprof-gen-
Arguments
keyword
Specifies details for the instrumented file. Possible values are:
default
Produces an instrumented object file. This is the same as specifying the
[Q]prof-gen
option with no keyword.
srcpos
Produces an instrumented object file that includes extra source position information.
globdata
Produces an instrumented object file that includes information for global data layout.
[no]threadsafe
Produces an instrumented object file that includes the collection of PGO data on applications that use a high level of parallelism. If
[Q]prof-gen
is specified with no keyword, the default is
nothreadsafe
.