Re: Shark question
Re: Shark question
- Subject: Re: Shark question
- From: kwiley <email@hidden>
- Date: Mon, 16 Jun 2008 12:04:13 -0700
On Jun 9, 2008, at 2:47 PM, Rick Altherr wrote:
On Jun 9, 2008, at 1:29 PM, kwiley wrote:
Simple question: Should the Shark self column sum to 100% (or in
sample view, sum to the total number of samples)?
I'm not seeing that, but I would expect to, based on what I admit
might be a flawed conceptual understanding on my part.
Thanks.
Self is the number of samples recorded where that function (or line
of source, or instruction) was executing. When looking at the
profile view (function breakdown), self should add up to 100%. An
easy way to check is to select all the rows in the outline view. If
you have a session where this doesn't happen, please send it our way.
I figured it out. Heavy view does not have this problem. Tree view
has this problem when some functions are not expanded. If the stack
trace is fully expanded (by option clicking the triangle for example),
then the Self column sums to 100%. Otherwise, stack frames contained
within closed triangles don't register in the Self column and
consequently Self doesn't sum to 100%.
I suppose this behavior makes sense, I certainly can't think of an
alternative that makes better sense.
Thanks.
Cheers!
________________________________________________________________________
Keith Wiley email@hidden http://www.cs.unm.edu/~kwiley
"Yet mark his perfect self-contentment, and hence learn his lesson, that
to be self-contented is to be vile and ignorant, and that to aspire is
better than to be blindly and impotently happy."
-- Edwin A. Abbott,
Flatland
________________________________________________________________________
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden