Hpcpiprof output with multiple events, Hpcpiprof, Output with multiple events – HP XC System 3.x Software User Manual

Page 45

Advertising
background image

%

Lists the percentage of event samples for the event type that occurred in the
image.

cum%

Lists the cumulative percentage of all event samples for this entry and all entries
above it. In this example, the event count for the first image
(vmlinux-2.6.9-34.7hp.XCsmp) is 48.4% of the recorded total, and the
event count for the first and second images together is 73.3% of the recorded
total.

image

Lists the image name.

hpcpiprof

Output with Multiple Events

The following listing shows hpcpiprof output on a system where HPCPI monitored four events.
The header table contains an entry for each event. The first event in the table is CPU_CYCLES,
and the first column in the data table contains the event count for this event. The values in the
percentage (%) and cumulative percentage (cum%) columns are also for the CPU_CYCLES event.
Columns with event counts for the additional events (NOPS_RETIRED,
PREDICATE_SQUASHED_RETIRED

, and IA64_INST_RETIRED) are to the right of the cumulative

percentage (cum%) column.

% hpcpiprof

Event Name Events Period Samples
-------------------------- ------------- ------ ---------
CPU_CYCLES 3746638560000 60000 62443976
NOPS_RETIRED 3667613640000 60000 61126894
PREDICATE_SQUASHED_RETIRED 48274800000 6000 8045800
IA64_INST_RETIRED 8966192880000 60000 149436548

PREDICATE_
NOPS_ SQUASHED_ IA64_INST_
CPU_CYCLES % cum% RETIRED RETIRED RETIRED image
---------- ----- ----- -------- ---------- ---------- --------------------------
231280e7 61.7% 61.7% 283236e7 61e7 689484e7 vmlinux-2.6.9-34.7hp.XCsmp
78618e7 21.0% 82.7% 29426e7 2e7 97186e7 libm-2.3.4.so
54924e7 14.7% 97.4% 50809e7 4519e7 99522e7 myApp :
:

The hpcpiprof utility sorted the entries in the data table according to the CPU_CYCLES. When
hpcpiprof

displays information for multiple events, it sorts the data table entries according to

the event count for the first event in the HPCPI database. To specify an alternate sort key, use
the -st event_name option, as described in

“Specifying an Alternate Sort Key” (page 53)

.

Viewing Per-Image Data: hpcpiprof

45

Advertising