The profmerge and proforder tools are used when generating a function order list.
Use profmerge to merge dynamic profile information (.dyn) files. The compiler executes this tool automatically during the feedback compilation phase when you specify -prof_use. You can also invoke it as follows:
IA-32 systems: prompt>profmerge [-prof_dir dir_name]
Itanium(TM)-based systems: prompt>profmerge -em -p64 [-prof_dir dir_name]
This merges all .dyn files in the current directory or the directory specified by -prof_dir, and produces the summary file pgopti.dpi.
Use proforder to generate a function order list for use with the /ORDER linker option. The syntax for this tool is as follows:
prompt>proforder [-prof_dir dir_name] [-o order_file]
Argument | Description |
---|---|
dir_name |
the directory containing the profile files (.dpi, .dyn, and .spi) |
order_file |
the optional name of the function order list file. The default name is proford.txt. |
The proforder utility is used as part of the feedback compilation phase to improve program performance.