Re: [Q] function profiling
Re: [Q] function profiling
- Subject: Re: [Q] function profiling
- From: Rick Altherr <email@hidden>
- Date: Wed, 16 May 2007 16:48:30 -0700
On May 16, 2007, at 4:23 PM, Chris Hanson wrote:
On May 16, 2007, at 3:52 PM, Eric Gorr wrote:
Now, I believe that Saturn will do this, but I believe that does
not work on Intel. Is this correct?
Yes. Saturn would do this, but it doesn't work on Intel yet. The
next version will.
As I understand it, Shark has something called Function Trace,
which will probably do what I want, but that does not appear to be
compatible with Intel either.
Function Trace would be an even better choice, but it also does not
work on Intel. This will not be fixed in the next version.
The CHUD tools - which both Saturn and Shark are components of -
do, in fact, work on Macs with Intel processors. Be sure you're
using the latest release of Xcode and the latest release of CHUD.
Certain parts of CHUD do _not_ work on Intel.
I'd probably start first with Shark to get the most accurate
picture of what my code is doing and where the bottlenecks are. A
Shark trace using "Time Profile (All Thread States)" of either a
specific process or all processes is a great way to see exactly
where the CPU time in your code is being spent, which a purely
function-based approach may not tell you.
Time Profile (All Thread States) does _not_ record CPU time. Time
Profile records CPU Time. Time Profile (All Thread States) records
wall clock time (effectively).
-- Chris
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
40apple.com
This email sent to email@hidden
--
Rick Altherr
Architecture and Performance Group
email@hidden
_______________________________________________
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