Re: [linux-audio-user] profiling

From: Steve Harris <S.W.Harris@email-addr-hidden>
Date: Thu Dec 08 2005 - 18:57:22 EET

On Thu, Dec 08, 2005 at 08:44:32AM -0800, Noah Roberts wrote:
> > Failing that you can write your own profiling code reasonably easily, just
> > use gettimeofday before and after ciritcal sections, and sum the results
> > from each run.
>
> Yeah, eventually I did that but it isn't nearly as accurate as a
> profile. Would certainly like to know how to make gprof work and why
> it isn't at any rate for future development. I don't often find the
> need to profile, but sometimes I do and not being able to is a big
> bummer.

It should be waaaay more accurate than gprof for runs that dont take hours.

- Steve
Received on Thu Dec 8 20:15:06 2005

This archive was generated by hypermail 2.1.8 : Thu Dec 08 2005 - 20:15:06 EET