This is the mail archive of the binutils@sources.redhat.com mailing list for the binutils project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

no accumulated time with gprof


Hi.

I am trying to debug a problem with a certain running program, and I've been asked to provide the developer with the gprof output. Unfortunately, when I do this, the timing information is always 0 even though the functions are called thousands of times, and should be greater than 0. It seems to happen with my existing gcc 3.2.2 and binutils 2.13.2 gprof, or if I use a later gcc, 3.4.3 and binutils 2.16. However, when the developer runs the same test on his systems, he sees all of the timings. What would stop the timings from appearing in the gprof output??

Here's an excerp from the profile output:

  %   cumulative   self              self     total
 time   seconds   seconds    calls  Ts/call  Ts/call  name
  0.00      0.00     0.00 20855806     0.00     0.00  po_ctl
  0.00      0.00     0.00 10427903     0.00     0.00  io_wait_dowork
  0.00      0.00     0.00 10427903     0.00     0.00  po_reset
  0.00      0.00     0.00 10427903     0.00     0.00  po_wait
  0.00      0.00     0.00 10427903     0.00     0.00  socket_set
  0.00      0.00     0.00 10427863     0.00     0.00  check_tls_dowork
  0.00      0.00     0.00 10427863     0.00     0.00  multi_process_post
  0.00      0.00     0.00 10427863     0.00     0.00  pre_select

...

Thanks for any assistance you can provide..

Jason Keltz
jas@cs.yorku.ca


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]