Thread: calls and processing times

  1. #1
    Registered User
    Join Date
    Jan 2006

    calls and processing times

    Hi there,

    I am a bit of a newbie to C Programming and coding on a FreeBSD machine at the moment. I remember an application that could itemize the system calls and processing times of a C program. Does anybody know what the name of the application is called that can provide that functionality.

    Thanks in advance.
    Last edited by musikluvah; 01-29-2006 at 12:08 PM.

  2. #2
    and the hat of int overfl Salem's Avatar
    Join Date
    Aug 2001
    The edge of the known universe
    Yes, do
    man gcc
    and search for profile - the basic option being -pg, but there are other ones which get more/different information.

    You then run the program under test, and process the results using the 'gprof' program.

  3. #3
    Registered User
    Join Date
    Jan 2006
    gprof thats it. thank you

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Function calls
    By subdene in forum C++ Programming
    Replies: 4
    Last Post: 01-28-2003, 02:50 PM
  2. C/C++ Memory Calls!
    By Joda in forum C++ Programming
    Replies: 7
    Last Post: 10-25-2002, 04:50 PM
  3. file writing crashes
    By test in forum C Programming
    Replies: 25
    Last Post: 08-13-2002, 08:44 AM