Let me take a stab at answering your questions.   See below:

 

-----Original Message-----
From: oprofile-list-admin@lists.sourceforge.net [mailto:oprofile-list-admin@lists.sourceforge.net] On Behalf Of Colon Carlos
Sent:
Wednesday, July 28, 2004 3:16 PM
To: 'oprofile-list@lists.sourceforge.net'
Subject: Interpreting Multiple CPU results

 

I have OProfile 0.8 installed and have a question about the results below:

 

I've used the following opcontrol options:

--no-vmlinux

--separate=library, cpu

 

I've used the following line to generate the report:

opreport --output-file=<report-file-name> --long-filenames --sort=sample --reverse-sort

What does the 0.4096 and 0.4166 numbers mean for CPU0 and CPU1, respectively? 

0.4096 on CPU0, 0.4166 on CPU1

 

Is that out of the total consumed by all the processes?  Or is that out of 100% of the CPU time? 

100% CPU time.  But You have specified NOT to include vmlinux in your report, so you need to put that number in perspective.  Are you running a user-level intensive app ?

 

Also, any good way to explain what "samples" are to a manager?:-)

Samples - like in analog to digital conversion of music.   A whole bunch of events happen, oprofile “wakes up” once in a while to figure out where it is in the execution path.  How often it “wakes up” constitutes to its sampling rate. 

 

 

Is there a way tell OProfile to output the total (or the average) CPU taken by all processes?

Just add up the samples or % to get total.  (if I remember correctly, you can also specific –c for cumulative mode)

 

Thanks,

Carlos

 

7352186 0.4096 7271551 0.4166 /cti/vap/vxml/bin/VXMLService.exe

cpu:0| cpu:1|

samples| %| samples| %|

------------------------------------

0 0 1 1.4e-05 /lib/libnss_nisplus-2.2.4.so

5 6.8e-05 5 6.9e-05 /lib/libnsl-2.2.4.so

117 0.0016 194 0.0027 /lib/libnss_files-2.2.4.so

216 0.0029 249 0.0034 /cti/vap/common/lib/libSystemParametersSpi.so

259 0.0035 230 0.0032 /lib/libdl-2.2.4.so

408 0.0055 355 0.0049 /cti/vap/common/lib/libdebuglog.so

1204 0.0164 1189 0.0164 /cti/vap/common/lib/libintouch-util.so

2386 0.0325 2275 0.0313 /cti/vap/common/lib/libThreadPoolLib.so

8209 0.1117 7885 0.1084 /cti/vap/common/lib/libcw.so

10930 0.1487 9807 0.1349 /lib/ld-2.2.4.so

27507 0.3741 27498 0.3782 /cti/vap/common/lib/libxerces-c.so.21

58031 0.7893 57030 0.7843 /usr/lib/libnspr4.so

 

 

Carlos