HP Caliper User's Guide
Simplest Example........................................................................................................106
More Typical Examples...............................................................................................106
Explanation of Report Output.....................................................................................107
How to Read an Advisor Report......................................................................................109
Suggestions for Using the HP Caliper Advisor................................................................110
How the HP Caliper Advisor Works................................................................................111
7 Using the HP Caliper Advisor in the GUI...................................................................................113
Basic Steps in Using the HP Caliper Advisor in the GUI.................................................113
Making Performance Measurement Runs........................................................................113
Selecting Performance Data to Analyze [Optional] .........................................................115
Generating Advice............................................................................................................117
Reviewing and Acting on the Advice...............................................................................118
8 Configuring HP Caliper ..........................................................................................................121
Specifying Option Values with a .caliperinit Initialization File........................................121
Example of a .caliperinit File.......................................................................................121
Setting Constants in the .caliperinit File......................................................................122
Configuring Data Collection.............................................................................................123
Specifying Which CPU Events to Measure.................................................................123
Shortening CPU Event Names...............................................................................124
Specifying Which Load Modules to Collect Data For.................................................124
Default Settings for Load Module Data Collection................................................125
How to Specify Load Module Names....................................................................126
Controlling Granularity of Data Collection and Reports............................................127
Specifying Processes to Measure.................................................................................127
Process Tree Report................................................................................................128
Syntax for -p Option...............................................................................................128
Using -p some ........................................................................................................130
Examples of the -p Option ....................................................................................131
Using HP Caliper in Your Build Process.....................................................................132
Using HP Caliper in Testing and Quality Assurance............................................132
Using HP Caliper to Generate Test Suite Reports..................................................132
Attaching to a Running Process to Perform Measurements.......................................132
How to Display Reference Information About CPU Counters or HP Caliper Report
Types.................................................................................................................................133
Options for the caliper info Command.......................................................................134
-c or --cpu-counter..................................................................................................134
-d or --details..........................................................................................................135
-o or --output-file....................................................................................................135
-r or --report............................................................................................................135
-s or --search...........................................................................................................135
Examples of the caliper info Command......................................................................135
Table of Contents 7