07-24-2009, 07:17 PM #1
How to generate profiling code in xcode 3
- Member Since
- Jul 24, 2009
I'm trying to generate profiling code that I can look at in gprof using xcode 3 on an intel based macbook (running 10.5). I can't get a gmon.out file for the life of me. Even if i compile directly with gcc from the command line. Any ideas why this won't work? Any ideas how to utilize the traditional -pg option to get profiling code?
07-26-2009, 02:44 AM #2
- Member Since
- Jun 25, 2005
- On the road
- 2011 MBP, i7, 16GB RAM, MBP 2.16Ghz Core Duo, 2GB ram, Dual 867Mhz MDD, 1.75GB ram, ATI 9800 Pro vid
You might want to look into Instruments (supplied) and CLANG analyzer (a free download).
Sorry, I don't know about gprof. Actually I'm not familiar enough with the above tools, but they are what Cocoa developers seem to be into.CameraTime - Time lapse photography for novice and advanced users.
When asking questions, post the version of your software. You'll receive better answers.
Please post your results to the thread as it is good feedback.
Users Browsing this Thread
There are currently 1 users browsing this thread. (0 members and 1 guests)
By chomper in forum OS X - Development and DarwinReplies: 1Last Post: 07-02-2011, 05:03 PM
By novellterminato in forum OS X - Development and DarwinReplies: 1Last Post: 05-25-2010, 09:56 PM
By SapAuthor in forum OS X - Development and DarwinReplies: 2Last Post: 09-28-2009, 02:18 PM
By yinglcs in forum OS X - Development and DarwinReplies: 0Last Post: 05-02-2009, 07:56 PM
By deanrayj in forum OS X - Development and DarwinReplies: 0Last Post: 04-25-2008, 09:33 PM