Re: benchmark tool?
From: pembed2003 (pembed2003_at_yahoo.com)
Date: 06/24/04
- Previous message: Olivier Parisy: "Re: Rendezvous between related processes"
- In reply to: Brian Raiter: "Re: benchmark tool?"
- Next in thread: Alex Vinokur: "Re: benchmark tool?"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
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!
- Previous message: Olivier Parisy: "Re: Rendezvous between related processes"
- In reply to: Brian Raiter: "Re: benchmark tool?"
- Next in thread: Alex Vinokur: "Re: benchmark tool?"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]