Im evaluating the PTU. I am trying to use the SSCG to figure out my application performance.
The application Im trying to profile is a WMB extension. The WMB is an IBM system which calls an extension which I have built. So the application main is not mine. The main actually loadsmy shared library. My shared library is using additional shared libraries which I have developed. In addition my code is making calls to the IBM modules already running in the process.
Running some initial tests without PTUhas shown me that the overhead implied by my libraries are isabout 50%. So I would expect to see that 33% of sampling go through my code.
Well I have hard time to understand what is going on.
I looked at the caller/callee window and I have expected to see that the sampling(TOTAL) of a function (in the following example ot::ManagedObjectRelease() ) would be equal to the sum of the sampling(TOTAL) of all the callees plus the function self sampling.
I would also expect to see that the sampling(TOTAL) of a function would be the sum of the callers sampling(TOTAL)
However this is not always true as depicted in the 1.jpg attached
Farther more I'm trying to do a top down analysis using caller/callee by looking at the posible threads activities. If I know that my thread is the only one using the OpenToThreadFunc() can I conclude using the image below that mythread consumes about 10% of the total process time?
Just to clarify, I have my own thread running in the process and in addition the process call my functions for its othere threads.
Is it possible to perform filtering of several libraries together (in addition to a single library and All)?
I have attached the results of the SSCG sampling in exp17.rar. My code is in the libraries libcf-xxxxx.so and libopentop-wmd.so, can you please guide me who can I verify that about 33% of it is a contribution of my code, assuming that paths going through my functions are the ones which contributed by my code?
What would be the most expensive calls?
Is there a good manual that would guide me through the analyzing process in such case ?