64bit clock clicks
Closed / Accepted705988ffffffffffffffffffffffffffffffffffCreated 24 years agoUpdated 24 years ago
Descriptionplain2003-03-19 00:43:39
This patch changes the type of TclpGetClicks to Tcl_WideInt. This has the effect that [clock clicks] returns the number of microseconds since 1977. Without this patch the clicks number is ungracefully truncated so the number you get from [clock clicks] can be negative and cycles over every hour or so. I have changed tcl[Unix|Mac|Win]Time.c but I havn't tested Mac or Win. Sam O'Connor [email protected]
nobodyplain2003-03-19 07:43:40
File Added - 45431: clock_clicks_64bit.patch
dgpplain2003-03-19 12:44:40
Logged In: YES user_id=80530 Is this meant to be an implementation of TIP 124?
samocplain2003-03-19 12:58:38
Logged In: YES user_id=737265 I guess this could be seen as implmenting TIP 124. I didn't know about the TIP database, I just saw somthing broken and fixed it. I don't think my patch changes the API at all because the clock clicks command only cliams to return some hi-res number. My patch just makes it absolute (at least on Unix). No documentation needs to be changed.
kennykbplain2003-04-14 01:05:45
Logged In: YES user_id=99768 Not exactly the submitter's patch, but a 64-bit version of [clock clicks] is now in the HEAD.
Log in (anonymous is fine) to add a comment.
Attachments:
- clock_clicks_64bit.patch [download] added by nobody on 2003-03-19 07:43:40. [details]