Code Profiling Utilities Manual

Contents
HP Code Profiling Utilities Manual542684-003
iv
Figures
Figures
Figure 1-1. Profile-Guided Optimization Task Overview 1-4
Figure 1-2. Code Coverage Task Overview 1-6
Figure 3-1. Compiling the Application to Generate Instrumented Object Files 3-1
Figure 4-1. Producing the Raw Data for Code Coverage Analysis 4-1
Figure 5-1. Using profmrg to Combine Raw Data Files 5-1
Figure 7-1. Running the Code Cover Utility to Create the Code Coverage
Report 7-1
Figure 8-1. Coverage Summary 8-1
Figure 8-2. Coverage Display for a Source File 8-2
Figure 8-3. Source Code Display Including Execution Counts 8-3
Figure 9-1. Traditional Method of Optimization 9-2
Figure 9-2. Profile-Guided Optimization Steps 9-3
Figure 9-3. Strategic Use of Code Coverage Technology 9-8
Tables
Tabl e 3- 1. basename Option 3-3
Tabl e 3- 2. codecov option 3-4
Tabl e 3- 3. profdir Option 3-4
Tabl e 3- 4. profgen Option 3-5
Tabl e 6- 1. profuse Option 6-1
Tabl e 6- 2. basename Option 6-2
Tabl e 8- 1. Color Coding in the Code Coverage Report 8-4