Re: benchmark tool?

From: pembed2003 (pembed2003_at_yahoo.com)
Date: 06/24/04

  • Next message: Eric Sosman: "Re: Rendezvous between related processes"
    Date: 24 Jun 2004 10:23:58 -0700
    
    

    blr@drizzle.com (Brian Raiter) wrote in message news:<cbd6re$e88$1@drizzle.com>...
    > > Thanks for pointing me to gprof. I man gprof but still can't figure
    > > out how to use it! The executable I am trying to gprof is call 'test'
    > > and I have tried:
    >
    > Assuming that you compiled test with profiling data, it looks like you
    > just forgot to run your program before calling gprof. (Either that, or
    > you ran gprof from a directory other than where your binary lives.)
    >
    > b

    Hi Brian / Sean,
    I 'info gprof' and ran my 'test' executable and now I can see what
    function takes the longest time in my program. I have an additional
    question:

    I compiled my program with -pg so some symbles are inserted into my
    program for prof, how can I strip out those symbles later on? Do I
    always have to recompile without '-pg' or is there a way to strip out
    the symbles?

    Thanks!


  • Next message: Eric Sosman: "Re: Rendezvous between related processes"