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