[Patches] [ python-Patches-969180 ] hotshot incorrectly computes elapsed time

SourceForge.net noreply at sourceforge.net
Sun Jun 13 16:45:29 EDT 2004


Patches item #969180, was opened at 2004-06-08 16:13
Message generated for change (Comment added) made by nnorwitz
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=305470&aid=969180&group_id=5470

Category: Modules
Group: Python 2.3
>Status: Closed
>Resolution: Accepted
Priority: 5
Submitted By: Jason Beardsley (vaxhacker)
>Assigned to: Neal Norwitz (nnorwitz)
Summary: hotshot incorrectly computes elapsed time

Initial Comment:
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).


----------------------------------------------------------------------

>Comment By: Neal Norwitz (nnorwitz)
Date: 2004-06-13 16:45

Message:
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!

----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=305470&aid=969180&group_id=5470



More information about the Patches mailing list