Code Profiling Utilities Manual

HP Code Profiling Utilities Manual542684-003
2-1
2
Installing the Code Profiling Utilities
The Code Profiling Utilities consist of two products:
T0746: Code Cover Utility (codecov)
T0747: Profile Merge Utility (profmrg)
Support for code profiling instrumentation is implemented in the following compiler
products:
T0356: COBOL compiler (ECOBOL) (code coverage only; the COBOL compiler
does not support profile-guided optimization)
T0549: TNS/E C/C++ compiler - for Guardian, Windows, and OSS (CCOMP,
CPPCOMP)
T8164: Standard C/C++ compiler utility - for OSS and Windows (c89, c99)
T0561: pTAL compiler (EpTAL)
The Code Cover Utility, the Profile Merge Utility, and the compilers are on the site
update tape (SUT). These products are also delivered on the cross-compiler
installation CD.
This section explains how to install codecov and profmrg on the workstation. To install
profmrg on the NonStop server, follow the normal procedures for installing software
from the SUT. Note that you can also install these utilities directly from the compiler
installation CD onto the workstation.
Copying the Code Profiling Utilities to Your
Workstation
To install the codecov and profmrg utilities from the SUT onto your Windows
workstation, proceed as follows:
Note. You can install profmrg on a Windows workstation, on the NonStop server, or both. You
can install codecov only on the workstation.
Running profmrg on the NonStop server can sometimes be more convenient than running it on
the workstation. If you plan to do profile-guide optimization and you are compiling on the
NonStop server, it is probably more convenient to create the DPI file on the server to avoid the
need to transfer files between the workstation and the server. If you plan to run codecov, and
will be creating many raw data files, it might be more convenient to merge them into a single
DPI file on the server and then send the single DPI file, rather than many raw data files, to the
workstation for input to codecov.