Code Profiling Utilities Manual

Hewlett-Packard Company542684-003
i
HP Code Profiling Utilities
Manual
Glossary Index Figures Tables
What’s New in This Manual v
Manual Information v
New and Changed Information v
About This Manual vii
Notation Conventions vii
1. Introduction to the Code Profiling Utilities
Features of the Utilities 1-1
Required Hardware and Software 1-2
Usage Overview 1-2
Profile-Guided Optimization 1-2
Code Coverage 1-5
Usage Scenarios 1-7
Topics This Manual Covers 1-7
2. Installing the Code Profiling Utilities
Copying the Code Profiling Utilities to Your Workstation 2-1
Installing codecov 2-2
Installing profmrg 2-2
3. Building the Application
Task Overview 3-1
Prepare to Compile 3-1
Selecting Source Files 3-1
Understanding Code Coverage Concepts 3-2
Usage Considerations 3-2
Cleaning Up From Previous Code Coverage Runs 3-2
Build the Application
3-3
Compiling the Source Files
3-3
Verify the Output 3-5
Linking the Object Files 3-6
HP Enterprise Toolkit (ETK) Considerations 3-6