HP Caliper User Guide Release 5.5 (5900-2351, August 2012)

Process Memory Usage Table.......................................................................................156
Measuring System Usage Concurrently with Other Measurements (HP-UX only) .......................157
Example Report Output.....................................................................................................157
Interpreting the Data........................................................................................................159
Attaching to a Running Process to Perform Precise Measurements (HP-UX only) .......................159
Taking PMU Samples in Your Code (HP-UX only) .........................................................160
Triggering PMU Samples in Specific Code Regions...............................................................160
Precautions When Using Triggered Samples...................................................................161
Restricting PMU Measurements to Specific Code Regions.......................................................162
A HP Caliper Diagnostic and Warning Messages..........................................165
ERROR #28: Caliper Invalid Measurement Combination............................................................165
Instructions Labeled STUB.......................................................................................................165
Mispredicted Branches..........................................................................................................165
PMU Sample Hits Outside Function Range...............................................................................167
scgprof Reports Require Kernel Patch (HP-UX only) ..............................................................167
B Descriptions of Measurement Reports........................................................169
alat Measurement Report Description......................................................................................169
Example Command Line for Text Report..............................................................................169
Example Command Line for CSV Report..............................................................................169
alat Metrics Summed for Entire Run....................................................................................169
Metrics for Integrity Servers Itanium 2 Systems.................................................................170
Metrics for Integrity Servers Dual-Core Itanium 2 and Itanium 9300 Quad-Core Processor
Systems......................................................................................................................170
Metrics for Integrity Servers Intel® Itanium® 9500 Processors Systems ...............................171
alat Measurement Report Metrics.......................................................................................172
How ALAT Metrics Are Obtained.......................................................................................173
branch Measurement Report Description..................................................................................173
Example Command Line for Text Report..............................................................................173
Example Command Line for CSV Report..............................................................................173
branch Metrics Summed for Entire Run................................................................................173
Metrics for Integrity Servers Itanium 2 Systems.................................................................173
Metrics for Integrity Servers Dual-Core Itanium 2 and Itanium 9300 Quad-Core Processor
Systems......................................................................................................................174
Metrics for Integrity Servers Intel® Itanium® 9500 Processors Systems ...............................175
branch Measurement Report Metrics...................................................................................177
How branch Metrics Are Obtained.....................................................................................178
cgprof Report Description (HP-UX only) .......................................................................178
Example Command Line for Text Report..............................................................................178
Example Command Line for CSV Report..............................................................................178
HP Caliper Call Graph Profile Results Accuracy...................................................................178
Call Graph Profile Metrics.................................................................................................179
cpu Measurement Report Description (HP-UX only) .......................................................181
Example Command Lines for Text Report.............................................................................182
Example Command Line for CSV Report..............................................................................182
CPU Event Sets................................................................................................................182
cstack Measurement Report Description...................................................................................184
Example Command Line for Text Report..............................................................................184
Example Command Line for CSV Report..............................................................................184
cstack Measurement Report Metrics....................................................................................184
cycles Measurement Report Description ..................................................................................186
Example Command Line for Text Report..............................................................................187
Example Command Line for CSV Report..............................................................................187
cycles Metrics Summed for Entire Run.................................................................................187
Metrics for Integrity Servers Intel Itanium 9300 processors Systems and older......................187
8 Contents