Nov. 14, 2004
11:08 a.m.
"Ralf W. Grosse-Kunstleve" <rwgk@cci.lbl.gov> writes:
Proposal:
sys.gettickeraccumulation.__doc__ 'getgettickeraccumulation() -> current count of bytecodes processed by the interpreter.'
You know about the 'tick_counter' field of PyThreadState? I don't think it's accessible to Python currently, but it seems to be intended for similar purposes... Cheers, mwh -- Hiro dicks about with his computer, naturally. Being stranded on a life raft in the Pacific is a perfect venue for a hacker. -- Snow Crash, Neal Stephenson