This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

classification
Title: hotshot incorrectly computes elapsed time
Type: Stage:
Components: Extension Modules Versions: Python 2.3
process
Status: closed Resolution: accepted
Dependencies: Superseder:
Assigned To: nnorwitz Nosy List: nnorwitz, vaxhacker
Priority: normal Keywords: patch

Created on 2004-06-08 20:13 by vaxhacker, last changed 2022-04-11 14:56 by admin. This issue is now closed.

Files
File name Uploaded Description Edit
hotshot.diff vaxhacker, 2004-06-08 20:13 Fix
Messages (2)
msg46146 - (view) Author: Deleted User vaxhacker (vaxhacker) Date: 2004-06-08 20:13
In _hotshot.c, function get_tdelta(), there is an error
resulting in incorrect timing results when the seconds
field changes between the last recorded time and the
current time of day.  The previous time's microseconds
are not accounted for (i.e. subtracted out).
msg46147 - (view) Author: Neal Norwitz (nnorwitz) * (Python committer) Date: 2004-06-13 20:45
Logged In: YES 
user_id=33168

Checked in a slightly modified version as Modules/_hotshot.c
1.36
Also fixed a problem with time going backwards.

Thanks!
History
Date User Action Args
2022-04-11 14:56:04adminsetgithub: 40363
2004-06-08 20:13:44vaxhackercreate