Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
Discussion Groups
General
GeneralPortable MacsHardwareNetworking
Applications
Mac ApplicationsEudoraFirefox / MozillaInternet ExplorerOutlook ExpressMS OfficeEntourageExcelPowerPointWordVirtual PCMedia PlayerOther MS Products
Programming
Mac ProgrammingCodeWarriorPerl
Country Specific
Australian Mac GroupUK Mac Group

Mac Forum / Programming / Mac Programming / April 2008



Tip: Looking for answers? Try searching our database.

profiling with saturn

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
aaragon - 24 Apr 2008 04:14 GMT
Hello everyone,

I'm trying to get Saturn to work with my C++ code but I don't think I can
make it without some help. I followed the manual, added the compiler flag -
finstrument-functions (I'm on an intel mac) but for some reason the code
takes way too much time to run, and creates a 65GB file that I cannot even
open because it's too big.

I don't think that this is the default behavior so I guess I'm missing
something. Can someone point out what I'm doing wrong? Thank you all,

aa
Paul Russell - 24 Apr 2008 12:08 GMT
> Hello everyone,
>
[quoted text clipped - 6 lines]
> I don't think that this is the default behavior so I guess I'm missing
> something. Can someone point out what I'm doing wrong? Thank you all,

Is there some reason why you can't just use Shark ?

Paul
aaragon - 24 Apr 2008 14:49 GMT
>> Hello everyone,
>>
[quoted text clipped - 5 lines]
>
>Paul

I guess I'm used to the gprof style of profiling, and I don't know if Shark
will give me the same information.

aa
Paul Russell - 24 Apr 2008 15:16 GMT
>>> Hello everyone,
>>>
[quoted text clipped - 7 lines]
> I guess I'm used to the gprof style of profiling, and I don't know if Shark
> will give me the same information.

Well you might want to give Shark a whirl. There is no need to
instrument your code - just build with -g to get debug symbols in your
code and you're away. Shark is most commonly used to do time-based
(sampled) profiling but it can do a whole bunch of other useful stuff
too. Very easy to use, very slick.

Paul
aaragon - 24 Apr 2008 15:50 GMT
>>>> Hello everyone,
>>>>
[quoted text clipped - 9 lines]
>
>Paul

Well, I'll give it a try then, thanks for replying.
Paul Russell - 24 Apr 2008 16:47 GMT
>>>>> Hello everyone,
>>>>>
[quoted text clipped - 10 lines]
>
> Well, I'll give it a try then, thanks for replying.

You're welcome. If you have any further problems with profiling,
performance, or any of the CHUD tools then you might want to check out
the PerfOptimization-dev mailing list at
http://lists.apple.com. There are a number of Apple engineers on the
list, traffic is low and signal-to-noise ratio is good.

Good luck,

Paul
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.