• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Shark question
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


  • Follow-Ups:
    • Re: Shark question
      • From: Wade Tregaskis <email@hidden>
References: 
 >Shark question (From: kwiley <email@hidden>)
 >Re: Shark question (From: Rick Altherr <email@hidden>)

  • Prev by Date: Re: Dumb gdb question
  • Next by Date: Re: Shark question
  • Previous by thread: Re: Shark question
  • Next by thread: Re: Shark question
  • Index(es):
    • Date
    • Thread