Code Profiling Utilities Manual
HP Code Profiling Utilities Manual—542684-003
5-1
5
Converting Raw Data Files to DPI
Files
Task Overview
In this step, you combine the raw data files from application runs to produce a dynamic
profiling information (DPI) file for input to a compiler or the codecov utility. If you have
previously generated DPI files for the same application, you can combine the DPI files
from the previous runs with raw data files from the latest run to produce a new DPI file.
To perform this task, you use the profmrg utility, which runs on a Windows workstation
or the NonStop server.
Where to Run profmrg
You can run profmrg either on a Windows workstation or on the NonStop server. The
choice of where to run it is a matter of convenience.
If you are doing profile-guided optimization and have compiled on the NonStop server,
running profmrg on the server eliminates the need to transfer files between the
workstation and the server.
If you are measuring code coverage and have created a single raw data file as input to
codecov, it is probably equally convenient to run profmrg on the workstation or on the
server. On the other hand, if you have created many raw data files for input to codecov,
it might be more convenient to merge them into a single DPI file on the server and then
copy the single DPI file, rather than many raw data files, to the workstation for input to
codecov, which runs only on the workstation.
Figure 5-1. Using profmrg to Combine Raw Data Files
vst005.vsd
Raw Data Files
Old DPI Files
profmrg
New DPI
File










