Re: [Q] function profiling
Re: [Q] function profiling
- Subject: Re: [Q] function profiling
- From: Eric Gorr <email@hidden>
- Date: Wed, 16 May 2007 19:56:18 -0400
On May 16, 2007, at 7: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?
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.
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.
Are you certain?
I am using XCode 2.4.1 & Shark 4.4.3 under MacOSX 10.4.9.
The Function Trace option is not in the configuration popup menu. If
I go to Config > New…, I see Function Trace listed in the
Configuration list, but it is disabled and when I select it in bold,
red lettering it states 'INCOMPATIBLE WITH THIS SYSTEM'.
As for Saturn, the only sample code I could find that was using it
was the Flurry Demo project. However, if I #define USE_SATURN, the
project does not build. Eventually, I was able to get it to build,
but it crashes. If you have a working intel sample project that uses
Saturn to gather profiling information, I would be extremely interested.
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.
I need the function based approach in this situation.
_______________________________________________
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