Profiler question

Paul Winkler slinkp23 at yahoo.com
Tue Jul 10 15:01:29 EDT 2001


Neil Schemenauer wrote:
> 
> Alexandre Fayolle wrote:
> > I'm using the profile module to try to see where I could get some speedups
> > in an application, I'm getting troubles interpretting the results, especially
> > the cumulative times. Is there a known problem with profile and multithreaded
> > applications?
> 
> If you're on a reasonably fast machine and the timer resolution is poor
> (e.g. Linux x68 is 100 Hz by default) then the results can be very
> strange.  Changing HZ to 1024 in "include/asm/param.h" and recompiling
> the Linux kernel greatly improved my profile results.
> 
>   Neil

Does that work OK with existing binary utilities? At one time I heard that doing
so would screw up "top", but that was quite some time ago... kernel 2.0 I think.

-- 
...................    paul winkler   ....................
custom calendars & printing: http://www.calendargalaxy.com
       A member of ARMS:   http://www.reacharms.com
            home page:  http://www.slinkp.com



More information about the Python-list mailing list