IBM Power7 Optimization And Tuning Manual page 180

Table of Contents

Advertisement

Example B-2 is a breakdown of samples of the threads that are running on the system. In
addition to the columns described in Example B-1 on page 163, this report has
columns that detail the process IDs and thread IDs.
Example B-2 Excerpt from a tprof report - breakdown of threads that are running on the system
Process
/usr/bin/tprof
/usr/bin/tprof
/usr/bin/sh
/usr/bin/sh
/usr/bin/trcstop
Total Samples = 7504
Example B-3 from the report gives the subroutine-level profile for the version1 program. In
this simple example, all of the time is spent in main().
Example B-3 Excerpt from a tprof report - subroutine-level profile for the version1 program, with all time
spent in main()
Profile: ./version1
Total Ticks For All Processes (./version1) = 1637
More information about using AIX tprof for Java programs is available in "Hot method or
routine analysis" on page 177.
The functionality of tprof is rich. As such, it cannot be fully described in this guide. For
complete tprof documentation, see tprof Command, available at:
http://publib.boulder.ibm.com/infocenter/aix/v7r1/index.jsp?topic=/com.ibm.aix.cmd
s/doc/aixcmds5/tprof.htm
164
POWER7 and POWER7+ Optimization and Tuning Guide
PID
TID
=======
===
wait
16392
wait
12294
wait
20490
./version1
245974
wait
8196
291002
274580
/etc/syncd
73824
245974
245976
245976
swapper
0
rmcd
155876
=======
===
Total
Subroutine
Ticks
============= ====== ======
.main
1637
Total
Kernel
User
===
=====
======
16393
1874
1874
12295
1873
1873
20491
1860
1860
606263
1672
8197
203
203
643291
13
610467
2
110691
2
606263
1
606265
1
606263
1
3
1
348337
1
===
=====
======
7504
5865
Total Elapsed Time = 18.76s
%
Source
=======
21.82 version1.c
PID
Shared
Other
====
======
0
0
0
0
0
0
35
1637
0
0
0
13
0
0
0
0
2
2
0
0
1
0
0
1
0
0
1
0
0
1
0
0
1
0
0
====
======
1637
2
Address Bytes
======= =====
350
536
and
TID
=====
0
0
0
0
0
0
0
0
0
0
0
0
0
=====
0

Advertisement

Table of Contents
loading

This manual is also suitable for:

Power7+

Table of Contents