Code Coverage Tool Reference Manual
Converting Raw Data Files to DPI Files
HP Code Coverage Tool Reference Manual for HP Integrity NonStop NS-Series Servers—542684-004
5-4
Verify Output
Do not specify any other options on the command line. When you specify the -
help option, any other options on the command line are either ignored or produce
command syntax error messages.
-nologo
suppresses the banner that profmrg would otherwise display.
-prof_dir directory
specifies the name of a folder relative to which profmrg looks for its input files and
creates its output file. By default, profmrg uses the current folder. Filenames
specified in the -prof_dpi and -a options are concatenated with the directory
name specified in this option.
-prof_dpi filename
specifies the name of the DPI file that profmrg creates, overriding the default name
pgopti.dpi. There is no rule for the format of the filename; for example, it need not
contain the string .dpi. If the -prof_dir option is also present in the command,
the filename is concatenated with the name given in the -prof_dir option.
Verify Output
The desired output from profmrg is a DPI file. Verify that such a file has been
produced. Also, check the standard error file for status messages and the standard
output file if you requested a dump with the -dump option.
The Output DPI File
The profmrg utility creates an output DPI file whose name is pgopti.dpi, unless you
specify a different name with the -prof_dpi option.
Usually, if profmrg finds an existing DPI file with the same name as the output file, it re-
creates the DPI file, on the assumption that doing so will result in the latest usage
information. However, in certain cases, profmrg decides that an existing DPI File would
have the same content if re-created; in such cases, profmrg leaves the existing file
alone. Specifically, this behavior arises if the existing DPI file is newer than the input
raw data files, and no other DPI files are specified as input. In other words, profmrg
assumes that the existing DPI file was created from the same set of input files and is
not just some other file that happened to be copied to the same location.
On the other hand, if you specify the -a option, profmrg does re-create the output DPI
file, even if the existing file was newer than all the raw data files and DPI files provided
as input. In other words, profmrg does not assume that DPI files specified with -a are
already reflected in an existing DPI file in the input folder.










