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



--- John Stiles <email@hidden> wrote:
> Not to dismiss this issue, but is there any reason why you can't use 
> 
> Shark?
> Shark is really unparalleled in the world of performance tuning.

I did try Shark and didn't like that it was profiling everything that
was running.  I just want to look at one process from beginning to end.
 I also tried Saturn which I liked better, but it seemed it would only
work when running a OS X style app.  I want to profile a command line
program and it is a real pain to have to make a carbon app (or
whatever) out of it just so I can profile it (however, I was able to
figure out how to do this using the Absoft IDE, which I do not use
otherwise).

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.  Also, if I remember right (I did these tests a while ago) the
times reported by Shark and Saturn were different so I didn't know
which to trust.

Bob
 
> On Apr 12, 2006, at 2:18 PM, Bob Portmann wrote:
> 
> > I have the same problem as described below, but on Mac OS X 10.4.6.
> > The bug was reported on May 24, 2005 (or possibly earlier). 
> Certainly
> > Apple has had time to fix it.  Will they?  Just the latest
> frustration
> > trying to switch from Unix to Mac...
> >
> > Bob
> >
> > Subject: Re: problems with gprof on OS X Tiger
> > From: Diarmuid Corcoran <email@hidden>
> > Date: Tue, 24 May 2005 20:47:50 +0200
> >
> > Hi,
> > Thanks for that info! I've bug reported this problem as "Problem
> ID:
> > 4123355" last week. Haven't received any further information from  
> > apple
> > however.
> > /Diarmuid.
> >
> > On May 24, 2005, at 8:14 PM, Jacinto S. wrote:
> >
> >> I'm having the same problem: profiling works fine on 10.3.9 but
> not
> >> 10.4.1. Also, it's not solely an issue with gcc 4 as the same
> thing
> >> happens with gcc 3.3 and xlf 8.1.
> >>
> >>
> >>
> >>> After upgrading to OS X Tiger 'gprof' seems to be broken (for me
> >>> anyhow!). Included below is a sample of the broken profile. It
> seems
> >
> >>> all times are reported as zero and the first entry in the flat
> >>> profile is 'past end of text [1]'. Has anybody else seen this?
> Can
> > it
> >>> have something to do with gcc4?
> >>> Thanks,
> >>> Diarmuid.
> >>>
> >>> % cumulative self self total
> >>> time seconds seconds calls ms/call ms/call name
> >>> 0.0 0.00 0.00 131911787 0.00 0.00 past end of text [1]
> >>> 0.0 0.00 0.00 81 0.00 0.00 __ZN14PrecisionTimer8tickToUsEy [25]
> >>> 0.0 0.00 0.00 81 0.00 0.00 __ZN17GetTimeOfDayTimer8tickToUsEy
> [26]
> >>> 0.0 0.00 0.00 27 0.00 0.00 __ZN14PrecisionTimer10startTimerEv
> [27]
> >>> 0.0 0.00 0.00 27 0.00 0.00
> __ZN14PrecisionTimer15printTabAverageEv
> > [28]
> >>> 0.0 0.00 0.00 27 0.00 0.00 __ZN14PrecisionTimer6updateEy [29]
> >>> 0.0 0.00 0.00 27 0.00 0.00 __ZN14PrecisionTimer9stopTimerEv [30]
> >>> 0.0 0.00 0.00 18 0.00 0.00 __ZN8TestSort4getnEv [31]
> >>> 0.0 0.00 0.00 9 0.00 0.00 __ZN10BubbleSort4sortEPji [32]
> >>>
> >>  _______________________________________________
> >
> > __________________________________________________
> > 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      (PerfOptimization- 
> > email@hidden)
> > Help/Unsubscribe/Update your Subscription:
> >
> http://lists.apple.com/mailman/options/perfoptimization-dev/jstiles% 
> > 40blizzard.com
> >
> > 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: John Stiles <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.