Multithreaded profiler?

Ed McKenzie eem12 at cornell.edu
Tue Oct 31 10:19:24 EST 2000


Hello all,

I'm writing a multithreaded server using the SocketServer classes, and
I'd like to know where time is spent in my request_handler and descendants.
Unfortunately, it seems that profile.run can only account for time spent
in the main thread, and I've been unsuccessful in trying to calling profile.run
from within my code. Any suggestions? Searching the web and list archives
turns up nothing, but I find it hard to believe no-one has tried this
before!

ed



More information about the Python-list mailing list