Code Profiling Utilities Manual

HP Code Profiling Utilities Manual542684-003
9-1
9
Code Profiling Usage Scenarios
This section provides two examples of code profiling: one for optimizing an application
using profile-guided optimization and one for the creation and analysis of a code
coverage report. These examples include all the steps discussed in the preceding
sections.
Profile-Guided Optimization Example
Profile-guided optimization provides a way of improving the performance of an
application. For maximum performance improvement, profile-guided optimization can
be used in addition to the traditional ways of optimizing a program. This traditional
method is shown in Figure 9-1.