Profile Information Generation Support lets you control of the generation of profile information during the instrumented execution phase of profile-guided optimizations. Normally, profile information is generated by an instrumented application when it terminates by calling the standard exit() function. The functions described in this section may be necessary in assuring that profile information is generated in the following situations:
This section includes descriptions of the functions and environment variable that comprise Profile Information Generation Support. The functions are available by inserting #include <pgouser.h> at the top of any source file where the functions may be used.
The compiler sets a define for _PGO_INSTRUMENT when you compile with either -prof_gen or -prof_genx.