Contents

 

HP secure development lifecycle....................................................................

12

About This Document...................................................................................

13

1 HP Caliper at a Glance............................................................................

17

What is HP Caliper?...............................................................................................................

17

What Does HP Caliper Run On?..............................................................................................

19

Supported Hardware and Operating Systems........................................................................

19

Supported Compilers and Application Environments...............................................................

19

Summary of HP Caliper Features..............................................................................................

20

2 Getting Started with the HP Caliper Command-Line Interface..........................

21

Example: Running fprof on a Short Program, with Default Output..................................................

21

Example: Adding Instructions to an fprof Report..........................................................................

25

Types of Measurements...........................................................................................................

27

Global Measurement..........................................................................................................

27

Sampled Measurements......................................................................................................

27

Precise Measurements (HP-UX only) .........................................................................

27

What to Look for in Using HP Caliper.......................................................................................

28

Syntax for caliper Command....................................................................................................

28

Basic Tasks: A Quick Reference................................................................................................

29

Starting HP Caliper............................................................................................................

29

Stopping HP Caliper..........................................................................................................

29

Showing HP Caliper Options...............................................................................................

29

Creating a Call Graph Profile with HP Caliper.......................................................................

29

Creating a Text Report for Analysis.......................................................................................

30

Creating a Report Based on Your Collected Data...................................................................

30

Using the HP Caliper Advisor...................................................................................................

30

Restrictions on Using HP Caliper...............................................................................................

30

Additional HP Caliper Commands............................................................................................

31

Getting Information About HP Caliper.......................................................................................

31

3 Getting Started with the HP Caliper GUI......................................................

32

What Is the HP Caliper GUI?...................................................................................................

32

Window Basics......................................................................................................................

32

Projects View .................................................................................................................

33

Collect View ..................................................................................................................

34

Analyze View ................................................................................................................

35

Advisor View .................................................................................................................

36

Console View ................................................................................................................

37

Diagnostics View ...........................................................................................................

38

Help View .....................................................................................................................

38

Tips for Using Views...........................................................................................................

39

Making Measurements............................................................................................................

39

Hints on How to Make Measurements...................................................................................

39

Exploring Performance Data.....................................................................................................

40

Getting Performance Tuning Advice...........................................................................................

40

Getting Help..........................................................................................................................

41

Starting the GUI.....................................................................................................................

41

Native (Local) GUI.............................................................................................................

41

Remote GUI......................................................................................................................

41

Contents 3