HP Caliper 5.3 User Guide (5900-1558, February 2011)

Limitations to Using cstack.....................................................................................................149
Pstack like functionality..........................................................................................................149
12 Performing CPU Metrics Analysis (HP-UX only) ................................151
13 HP Caliper Features Specific to HP-UX (HP-UX only) .........................152
Measuring Memory Usage Concurrently with Other Measurements (HP-UX only) ....................152
Examples of the --memory-usage= Option............................................................................153
Example Report Output.....................................................................................................154
How to Read the Reports..................................................................................................154
System Memory Configuration Table..............................................................................154
Process Memory Usage Table.......................................................................................155
Measuring System Usage Concurrently with Other Measurements (HP-UX only) .......................156
Example Report Output.....................................................................................................156
Interpreting the Data........................................................................................................158
Attaching to a Running Process to Perform Precise Measurements (HP-UX only) .......................158
Taking PMU Samples in Your Code (HP-UX only) .........................................................159
Triggering PMU Samples in Specific Code Regions...............................................................159
Precautions When Using Triggered Samples...................................................................160
Restricting PMU Measurements to Specific Code Regions.......................................................161
A HP Caliper Diagnostic and Warning Messages..........................................164
ERROR #28: Caliper Invalid Measurement Combination............................................................164
Instructions Labeled STUB.......................................................................................................164
Mispredicted Branches..........................................................................................................164
PMU Sample Hits Outside Function Range...............................................................................166
scgprof Reports Require Kernel Patch (HP-UX only) ..............................................................166
B Descriptions of Measurement Reports........................................................168
alat Measurement Report Description......................................................................................168
Example Command Line for Text Report..............................................................................168
Example Command Line for CSV Report..............................................................................168
alat Metrics Summed for Entire Run....................................................................................169
Metrics for Integrity Servers Itanium 2 Systems.................................................................169
Metrics for Integrity Servers Dual-Core Itanium 2 and Itanium 9300 Quad-Core Processor
Systems......................................................................................................................169
alat Measurement Report Metrics.......................................................................................170
How ALAT Metrics Are Obtained.......................................................................................171
branch Measurement Report Description..................................................................................171
Example Command Line for Text Report..............................................................................172
Example Command Line for CSV Report..............................................................................172
branch Metrics Summed for Entire Run................................................................................172
Metrics for Integrity Servers Itanium 2 Systems.................................................................172
Metrics for Integrity Servers Dual-Core Itanium 2 and Itanium 9300 Quad-Core Processor
Systems......................................................................................................................172
branch Measurement Report Metrics...................................................................................174
How branch Metrics Are Obtained.....................................................................................175
cgprof Report Description (HP-UX only) .......................................................................175
Example Command Line for Text Report..............................................................................175
Example Command Line for CSV Report..............................................................................175
HP Caliper Call Graph Profile Results Accuracy...................................................................176
Call Graph Profile Metrics.................................................................................................176
8 Contents