Results 1 to 2 of 2
  1. #1
    How to generate profiling code in xcode 3

    Member Since
    Jul 24, 2009
    Posts
    1
    How to generate profiling code in xcode 3
    Hi,
    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?

    Thanks,
    Sterling

  2. #2
    How to generate profiling code in xcode 3
    xstep's Avatar
    Member Since
    Jun 25, 2005
    Location
    On the road
    Posts
    3,231
    Specs:
    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.

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Code suggestions in Xcode 3
    By chomper in forum OS X - Development and Darwin
    Replies: 1
    Last Post: 07-02-2011, 05:03 PM
  2. Xcode Generate Functions from Headers?
    By novellterminato in forum OS X - Development and Darwin
    Replies: 1
    Last Post: 05-25-2010, 09:56 PM
  3. Anyone know the basic code difference between VS and XCode?
    By SapAuthor in forum OS X - Development and Darwin
    Replies: 2
    Last Post: 09-28-2009, 02:18 PM
  4. How to navigate code in XCODE
    By yinglcs in forum OS X - Development and Darwin
    Replies: 0
    Last Post: 05-02-2009, 07:56 PM
  5. XCode Debugging From Source Code
    By deanrayj in forum OS X - Development and Darwin
    Replies: 0
    Last Post: 04-25-2008, 09:33 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •