Official or correct explanation of numbers on the 1st column for every method/function call in process sample?
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