Re: benchmark tool?
From: pembed2003 (pembed2003_at_yahoo.com)
Date: 24 Jun 2004 10:23:58 -0700
firstname.lastname@example.org (Brian Raiter) wrote in message news:<email@example.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.)
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
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