Code Profiling Utilities Manual

Contents
HP Code Profiling Utilities Manual542684-003
ii
3. Building the Application (continued)
3. Building the Application (continued)
Example 3-6
4. Running the Application
Task Overview 4-1
Prepare the Application for Testing 4-1
Preparing Test Cases 4-1
Insulating the Application 4-2
Run the Application 4-2
Verify Output 4-2
Example 4-3
5. Converting Raw Data Files to DPI Files
Task Overview 5-1
Where to Run profmrg 5-1
Prepare profmrg Input Files 5-2
For Code Coverage 5-2
For Profile-Guided Optimization 5-2
Assembling Raw Data Files 5-2
Saving DPI Files from Previous Runs 5-3
Including DPI Files from Previous Runs 5-3
Where to Put the Input Files 5-3
Run profmrg 5-4
Verify Output 5-5
The Output DPI File 5-5
profmrg Use of Standard Error and Output Files 5-5
Example
5-6
6. Optimizing a Program Using Profile-Guided Optimization
profuse Option 6-1
Location of Source Files 6-2
Using the basename Option 6-2
Additional Usage Considerations 6-3
7. Running the Code Cover Utility
Task Overview 7-1
Prepare to Run codecov 7-2
Providing for Source File Retrieval 7-2
Preparing the SPI File 7-3
Preparing the DPI File 7-3