There're two cases that you will see the .dyn file created when running the application.
1. Use the PGO (Profile Guided Optimization) to optimize your program using the Intel Compiler professional edition
- first compile the program with /Qprof-gen
- then run the program and this will generate the .dyn file
- compile the program again with the .dyn information for best performance
2. Use the code coverage tool coming with the Intel Compilers
- first compile the program with /Qcov-gen
- run the program and this will generate the .dyn file
In both cases in order to get the .dyn file, your program should meet following requirements:
1. the program should exit normaly or with "exit(x)" instead of "_exit(x)"
See the differences of those two APIs at http://msdn.microsoft.com/en-us/library/6wdz5232.aspx.
2. or the program calls "PGOPTI_Prof_Dump()" directly before exit.
If your program does not meet above requirements, the .dyn file will not be created.