Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: gprof on OS X Tiger--still broken



--- Chris Cox <email@hidden> wrote:
> On 4/12/06 3:15 PM, "Ian Ollmann" <email@hidden> wrote:
> 
> >> The bottom line for me is that prof is very easy to use and gives
> me
> >> enough information to speed up my program.  These other methods
> are a
> >> hassle.
> > 
> > <blink>
> 
> Read that as "I learned how to use gprof before GUIs existed and
> don't want
> to learn anything new" and it makes more sense.
> 
> Anyone seriously seeking to speed up their program will use multiple
> profilers with multiple techniques.

Yes, it sounded that way.  And I do have a preference for command-line
programs in general since I'm compiling and running my programs from
the command line it is extra time to go start another program, etc. 
And it really got me mad that Saturn wouldn't allow me to select any
executable program from its open statement, but only aqua/carbon ones. 
Why is this?  It would be really nice if I could tell it to profile any
program (or at least a shell script, which I could make run my
program).

About Shark, I didn't really try it much the first time I looked at it.
 I figured it was setup to work with "mac" programs and wouldn't work
well with my fortran code.  But after playing around with it a bit it
is pretty nice.  I still cannot figure out how to get all the time a
routine uses (adding in all the things it calls) without manually going
through and selecting all the things it calls and selecting "Charge
symbol xxx to callers".  Is there a direct way to do this?

So maybe Shark will work well enough for me, or even be better.  And I
like learning about new tools, and do so often.  But Apple should still
fix gprof.

Bob

ps And I've never used gprof before but used prof and pixie on True 64
Unix, which both appear to be better than gprof (even if it worked).

> Chris
> 
>  _______________________________________________
> Do not post admin requests to the list. They will be ignored.
> PerfOptimization-dev mailing list     
> (email@hidden)
> Help/Unsubscribe/Update your Subscription:
>
http://lists.apple.com/mailman/options/perfoptimization-dev/email@hidden
> 
> This email sent to email@hidden
> 


__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 
 _______________________________________________
Do not post admin requests to the list. They will be ignored.
PerfOptimization-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/perfoptimization-dev/email@hidden

This email sent to email@hidden

References: 
 >Re: gprof on OS X Tiger--still broken (From: Chris Cox <email@hidden>)



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.