[EMAIL PROTECTED] wrote:
> I would like to try a sampling approach to profiling.  My thought is to have
> a profiling thread that samples the execution frame of all the other
> started threads.  I don't see any path from the threads returned by
> threading.enumerate() to their current frames.  Am I missing something?


Just another thought: Maybe stackless python can be of use here - as it 
epxlicits the stack frame, you might be able to inspect it. But I 
_think_ basically the same limitations apply as in my other post - you'd 
need to be able to stop a thread, scan its frame, and reschedule it.

Diez
-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to