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]

Re: gprof - output


Segher Boessenkool <segher@kernel.crashing.org> writes:

> > You are reading the results incorrectly.  Your use of clock is
> > measuring what the gprof output describes as "cumulative seconds".
> 
> Actually, "cumulative seconds" is just the time taken by a function
> (without its kids!) and all functions that took longer (are above it
> in the table), added together.

Whoops, you're quite right.  Don't know what I was thinking.

Ian


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