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

$ caliper cpu my_new_app
or:
$ caliper ecount my_new_app
followed by:
$ caliper fprof my_new_app
$ caliper dcache my_new_app
Then, run the Advisor on the composite performance data:
$ caliper advise
Explanation of Report Output
Figure 14 (page 81) shows the report output from the Advisor. The report is explained further in
“How to Read an Advisor Report” (p. 82).
The numbers (which are bold in the PDF version of this guide) are annotations to explain the
report—they are not part of the output you receive. See the list at the end of the report for the
explanations.
Figure 14 HP Caliper Advisor Report, with Annotations
===========================================================================
HP Caliper 4.3.0 Advisor Report for my_app
===========================================================================
Analysis Focus
1
Executable: /tmp/my_app
Last modified: August 15, 2004 at 03:10 PM
Processor type: Itanium2 9M
Processor speed: 1599 MHz
OS version: HP-UX 11.23
Performance Databases
2
/home/me/.hp_caliper_databases/cpu - March 23, 2005 at 11:17 AM
/home/me/.hp_caliper_databases/fprof - March 23, 2005 at 07:52 PM
Rule Files
3
default - Default Caliper Advisor rules
@ /opt/caliper/rules
---------------------------------------------------------------------------
Index Class Analysis
4
---------------------------------------------------------------------------
23.9 cpu Function profile [cpu_fprof_1]
5
The following functions account for 23.9% of the CPU cycles
used by the application. Improving the algorithm(s) used in
these routines and/or increasing the compiler optimization
level can improve performance.
11.9% compare_items
8.2% search_dbase
3.8% new_item_insert
Use the following Caliper command to get a source listing of
the 'hot spots' in these routines:
caliper report fprof
---------------------------------------------------------------------------
16.6 memory ITLB misses [mem_itlb_general]
6
Try adding "+pi 4M" to the application's link command.
The percentage of ITLB misses (16.6%) is higher than normal.
This may indicate a poor setting for the instruction page size.
---------------------------------------------------------------------------
[Minimum index: 5.0, minimum count: 5, maximum count: 15]
7
---------------------------------------------------------------------------
Getting Started with the Advisor: Examples 81