Code Profiling Utilities Manual

Contents
HP Code Profiling Utilities Manual542684-003
iii
8. Interpreting the Code Coverage Report
Prepare to Run codecov (continued)
Cleaning Up from Previous Runs 7-4
Run codecov 7-4
Verify Output 7-6
The Code Coverage Report 7-6
codecov Use of Standard Error and Output Files 7-7
Example 7-7
8. Interpreting the Code Coverage Report
Opening the Code Coverage Report 8-1
Code Coverage Display for a Source File 8-1
Execution Counts in the Source Display 8-2
Representation of #include Files 8-3
Understanding Color Coding in the Code Coverage Report 8-4
9. Code Profiling Usage Scenarios
Profile-Guided Optimization Example 9-1
Run the Application to Obtain a Baseline (Unoptimized) Measurement 9-4
Build the Instrumented Application 9-5
Run the Instrumented Application 9-5
Generate the DPI File 9-6
Rebuild the Application 9-6
Run the Optimized Application 9-7
Code Coverage Example 9-7
Build the Application 9-8
Run the Application 9-10
Produce the DPI File 9-10
Measure Code Coverage 9-11
Evaluate the Code Coverage Report 9-11
10. Usage Considerations
Compilation Issues 10-1
Application Performance 10-2
Glossary
Index