Code Profiling Utilities Manual
Introduction to the Code Profiling Utilities
HP Code Profiling Utilities Manual—542684-003
1-7
Usage Scenarios
Usage Scenarios
Code coverage analysis and profile-guided optimization have different usage
scenarios. With code coverage, you are usually trying to determine what portions
of your code are being executed during testing; the goal is to execute as much of
the application as possible. With profile-guided optimization, your objective should
be to limit the execution of your application to only those portions that are most
likely to execute under a typical workload.
Topics This Manual Covers
The rest of this manual provides:
•
Instructions for installing the Code Profiling Utilities on a workstation
•
Instructions for creating instrumented object files and SPI files from source
programs in C/C++, pTAL, or COBOL
•
Instructions for ensuring that a run of the application has generated the expected
raw data files
•
Instructions for using the profmrg utility to create DPI files from raw data files
•
Instructions for recompiling the application using code profiling information to
produce an optimized object file
•
Instructions for running the codecov utility on a workstation
•
A description of the report generated by the codecov utility
•
Usage scenarios and considerations










