H06.09 Release Version Update Compendium

H06.09 Release Version Update Compendium544317-001
3-1
3
Application Development Products
The H06.09 RVU contains new features for these application development products:
Code Profiling Utilities
C/C++
pTAL
Code Profiling Utilities
The H06.09 versions of the Code Profiling Utilities, along with the C/C++ and pTAL
compilers, have several new command line options for supporting an optimization
technique called profile-guided optimization.
The steps for performing profile-guided optimization are:
1. Compile the application components using the compiler options to generate an
instrumented object file.
2. Link the application and run it on the NonStop server. The instrumented process
creates a raw data file containing information about the execution path of the
application. You can run the application multiple times, using different test data.
Each run creates a single raw data file.
3. Use the Profile Merge Utility (profmrg) to merge the raw data file into a single
Dynamic Profiling Information (DPI) file.
4. Recompile the application, specifying as compiler input the original source code
and the DPI file.
The compiler uses information in the DPI file to produce more efficient object code.
Previous to the H06.09 RVU, profmrg could be installed and executed only on the
Windows workstation. Now it can also be installed and executed on the NonStop
server, in either the OSS or the Guardian environment. The command line syntax on
the server is the same as on the workstation. This capability provides greater
convenience for performing profile-guided optimization.