calls and processing times

This is a discussion on calls and processing times within the C Programming forums, part of the General Programming Boards category; Hi there, I am a bit of a newbie to C Programming and coding on a FreeBSD machine at the ...

  1. #1
    Registered User
    Join Date
    Jan 2006
    Posts
    16

    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 11:08 AM.

  2. #2
    and the hat of wrongness Salem's Avatar
    Join Date
    Aug 2001
    Location
    The edge of the known universe
    Posts
    32,484
    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
    Posts
    16
    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, 01: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

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21