RE: Gprof can account for less than 1/3 of execution time?!?!

2010-02-22 Thread Maucci, Cyrille
Hi Jon, What does ldd says about your executable? Thanks ++Cyrille -Original Message- From: gcc-ow...@gcc.gnu.org [mailto:gcc-ow...@gcc.gnu.org] On Behalf Of Jon Turner Sent: Monday, February 22, 2010 3:44 PM To: Joern Rennecke Cc: Michael Matz; gcc@gcc.gnu.org Subject: Re: Gprof can ac

RE: Gprof can account for less than 1/3 of execution time?!?!

2010-02-21 Thread Maucci, Cyrille
Hello Jon, I'm used to gprof on HPUX and can tell you that on HPUX when we gprof an executable, its only works on all the objects present in the executable but not the shared libs. Actually on HPUX, either you choose to gprof the exe or the libs but not both. When you want both you go to more a