• 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
Official or correct explanation of numbers on the 1st column for every method/function call in process sample?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Official or correct explanation of numbers on the 1st column for every method/function call in process sample?


  • Subject: Official or correct explanation of numbers on the 1st column for every method/function call in process sample?
  • From: JongAm Park <email@hidden>
  • Date: Tue, 17 Mar 2015 13:52:57 -0700

Hello,

I know that questions on tools are not relevant for this cocoa-dev, but I couldn’t find any relevant mailing list for tools like ‘sample’ or sampling using Activity Monitor GUI tool.
So, let me ask it here, because all Cocoa programmers use such tools whenever needed.

I have a process sample like this.

Call graph:
    1379 Thread_839846: Main Thread   DispatchQueue_<multiple>
    + 1379 start  (in Wirecast) + 52  [0x100a31074]
    +   1379 main  (in Wirecast) + 1070  [0x100b3e16a]
    +     1379 eApp::Run(bool, zRecord*)  (in libeva.dylib) + 779  [0x101033225]
    +       1379 eWindowManager_cocoa::MessageLoop()  (in libeva.dylib) + 70  [0x101037932]
    +         1379 -[NSApplication run]  (in AppKit) + 594  [0x7fff88cd2593]

I can guess the number on the 1st (2nd?) on every row after + sign. It should be number of samples or how long a method/function take.

According to MAN page for ‘sample’, it samples at every 1 msec.
And http://stackoverflow.com/questions/10709577/spindump-analysis-instructions <http://stackoverflow.com/questions/10709577/spindump-analysis-instructions> says, it’s the number of samples.

By looking at the numbers on children nodes, I guess so too.  But is it really so?

If there is a better mailing list for this kind of inquiry, please let me know.

Thanks,
JongAm Park
_______________________________________________

Cocoa-dev mailing list (email@hidden)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden


  • Follow-Ups:
    • Re: Official or correct explanation of numbers on the 1st column for every method/function call in process sample?
      • From: Jens Alfke <email@hidden>
    • Re: Official or correct explanation of numbers on the 1st column for every method/function call in process sample?
      • From: Greg Parker <email@hidden>
    • Re: Official or correct explanation of numbers on the 1st column for every method/function call in process sample?
      • From: Steve Mills <email@hidden>
  • Prev by Date: Re: All buttons lost focus ring on Yosemite
  • Next by Date: Re: highlight a nsview on click-drag?
  • Previous by thread: NSWorkspace (un)mount notification in an XPC service
  • Next by thread: Re: Official or correct explanation of numbers on the 1st column for every method/function call in process sample?
  • Index(es):
    • Date
    • Thread