Qprof_gen doesn't makes a .spi ??

Qprof_gen doesn't makes a .spi ??

Hi,
I added on the command line the following switch:
Qprof_gen taam.cpp
because, according to the tutorial, it should create a .spi file:
---------------------------------------------------------
To use profile-guided optimization, you must compile at least twice. Follow these steps:
1. Instrumented compilation
Compile using the -Qprof_gen option (-prof_gen on Linux*).
Example: prompt>icl -Qprof_gen test.c
2. Instrumented execution
Run the application through a representative workload to generate a profile. This step generates a data file with a .dyn suffix.
Example: prompt>test.exe
3. Feedback compilation
Set the compiler to use the profile information the next time you recompile the application, using the -Qprof_use option (-prof_use on Linux). This step uses the dynamic information (.dyn file) generated in the previous step. Besides the optimization, the compiler produces a pgopti.dpi file. You typically specify the default optimizations (-O2) for phase 1, and specify more advanced optimizations (-Qip or -Qipo) for phase 3.

Example: prompt>icl -Qprof_use test.c
---------------------------------------------------------
but it doesn't creates the file.
My entire cd-line options are:

/nologo /ML /W3 /GX /O2 /D "WIN32" /D "NDEBUG" /D "_CONSOLE" /D "_MBCS" /Fp"Release/taam.pch" /Yu"stdafx.h" /Fo"Release/" /Fd"Release/" /FD /Qprof_gen taam.cpp /c

What am I doing wrong ??

Thanks a lot.

1 post / 0 new
For more complete information about compiler optimizations, see our Optimization Notice.