HP Caliper User's Guide
Table of Contents
About This Document...................................................................................................................17
1 HP Caliper at a Glance............................................................................................................23
What Is HP Caliper?...........................................................................................................23
What Does HP Caliper Run On?........................................................................................25
Supported Hardware and Operating Systems..............................................................25
Supported Compilers and Application Environments.................................................25
Summary of HP Caliper Features.......................................................................................26
2 Getting Started with the HP Caliper Command-Line Interface........................................................29
Example: Running fprof on a Short Program, with Default Output..................................29
Example: Adding Instructions to an fprof Report..............................................................33
Types of Measurements......................................................................................................35
Global Measurement.....................................................................................................35
Sampled Measurements................................................................................................36
Precise Measurements ..........................................................................................36
What to Look for in Using HP Caliper...............................................................................37
Syntax for caliper Command..............................................................................................37
Basic Tasks: A Quick Reference..........................................................................................38
Starting HP Caliper.......................................................................................................38
Stopping HP Caliper.....................................................................................................38
Showing HP Caliper Options........................................................................................39
Creating a Call Graph Profile with HP Caliper............................................................39
Creating a Text Report for Analysis..............................................................................39
Creating a Report Based on Your Collected Data.........................................................39
Using the HP Caliper Advisor............................................................................................40
Restrictions on Using HP Caliper.......................................................................................40
Additional HP Caliper Commands....................................................................................41
Getting Information About HP Caliper..............................................................................41
3 Getting Started with the HP Caliper GUI.....................................................................................43
What Is the HP Caliper GUI?.............................................................................................43
Window Basics....................................................................................................................44
Projects View .............................................................................................................45
Collect View ..............................................................................................................46
Analyze View ............................................................................................................47
Advisor View ............................................................................................................48
Console View .............................................................................................................49
Table of Contents 3