public inbox for gcc-help@gcc.gnu.org
 help / color / mirror / Atom feed
* gprof
@ 2000-02-14 15:12 Hwee Kuan Lee
  2000-04-01  0:00 ` gprof Hwee Kuan Lee
  0 siblings, 1 reply; 3+ messages in thread
From: Hwee Kuan Lee @ 2000-02-14 15:12 UTC (permalink / raw)
  To: gnu; +Cc: Hwee Kuan Lee

Dear Sir,

I am not sure if this is the proper place to ask my question about the
profiling program call gprof.

I run gprof on my program and on the flat profile, the % time column
does not add up to 100%, not even close. It adds up to 51% and there are
1279 functions. If I add 0.01 seconds (the resolution of % time) to each
function to get a upper bond of total time, it will be 51%+12.79%=63.79%
<< 100%.

How can this be?

If this is not the proper place, can you point me to a proper place to
ask for help? 

Thanks.



^ permalink raw reply	[flat|nested] 3+ messages in thread

* gprof
  2000-02-14 15:12 gprof Hwee Kuan Lee
@ 2000-04-01  0:00 ` Hwee Kuan Lee
  0 siblings, 0 replies; 3+ messages in thread
From: Hwee Kuan Lee @ 2000-04-01  0:00 UTC (permalink / raw)
  To: gnu; +Cc: Hwee Kuan Lee

Dear Sir,

I am not sure if this is the proper place to ask my question about the
profiling program call gprof.

I run gprof on my program and on the flat profile, the % time column
does not add up to 100%, not even close. It adds up to 51% and there are
1279 functions. If I add 0.01 seconds (the resolution of % time) to each
function to get a upper bond of total time, it will be 51%+12.79%=63.79%
<< 100%.

How can this be?

If this is not the proper place, can you point me to a proper place to
ask for help? 

Thanks.



^ permalink raw reply	[flat|nested] 3+ messages in thread

* gprof
@ 2003-06-02 16:04 jeff milam
  0 siblings, 0 replies; 3+ messages in thread
From: jeff milam @ 2003-06-02 16:04 UTC (permalink / raw)
  To: gcc-help

Hello, my name is Jeffrey Milam.  I work at TecMasters.Inc in Lawton OK.    I 
was wondering if you could help me out with a problem i am having.  We are 
running a large simulation that links code from fortran and c.  The problem 
that i am having is that when producing the results, the flat profile has the 
number of times each function was called but it does not produce any 
times...such as percentage of time or total time for the functions.  Here is 
just the first couple of copied lines from the output file.


 %   cumulative   self              self     total
 time   seconds   seconds    calls  Ts/call  Ts/call  name
  0.00      0.00     0.00    44686     0.00     0.00  scrblk_
  0.00      0.00     0.00    14829     0.00     0.00  listv_
  0.00      0.00     0.00    11750     0.00     0.00  octal_
  0.00      0.00     0.00     8880     0.00     0.00  acsur_
  0.00      0.00     0.00     8880     0.00     0.00  idxdpl_
  0.00      0.00     0.00     7690     0.00     0.00  deplel_
  0.00      0.00     0.00     6828     0.00     0.00  deploy_
  0.00      0.00     0.00     4922     0.00     0.00  prtfu_
  0.00      0.00     0.00     3357     0.00     0.00  igrdid_
  0.00      0.00     0.00     3268     0.00     0.00  hashxy_


If you have any idea of what could be going wrong, could you help me...  I 
would greatly appreciate it.  Thank you


Jeff Milam

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2003-06-02 16:04 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2000-02-14 15:12 gprof Hwee Kuan Lee
2000-04-01  0:00 ` gprof Hwee Kuan Lee
2003-06-02 16:04 gprof jeff milam

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).