[issue2281] Enhanced cPython profiler with high-resolution timer

Antoine Pitrou report at bugs.python.org
Tue May 18 15:09:12 CEST 2010


Antoine Pitrou <pitrou at free.fr> added the comment:

Sorry, the calibration loop actually looks correct in case of preemption, since it simply divides the TSC delta by the elapsed physical time (and both continue increasing monotonously when another thread runs). It is still vulnerable to the thread migration problem, though.

----------

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue2281>
_______________________________________


More information about the Python-bugs-list mailing list