|
2001-11-28
| ||
| 06:21 | • Closed ticket [478847ffff]: time command returns negative results plus 6 oth... artifact: 2d180ede65 user: kennykb | |
|
2001-11-06
| ||
| 20:30 | • New ticket [478847ffff]. artifact: 2e10eb3553 user: nobody | |
time command returns negative results
Closed478847ffffffffffffffffffffffffffffffffffCreated 25 years agoUpdated 25 years ago
Descriptionplain2001-11-06 20:30:00
This is the code:
% time {memqueue::put "Index: [incr i], message: [info
commands]"} 10000000
-137 microseconds per iteration
Basically, I called the code memqueue::put 10 million
times. Memqueue::put is my own code...obviously. The
time command returned the negative result above of -
137 microseconds.
I'm assuming that the ticks collected were cast
incorrectly in the C code from a signed to an unsigned
number and when the division took place the negative
result was produced.
Have fun, let me know if you need anymore information.
Thanks,
Steve
kennykbplain2001-11-28 06:21:01
Logged In: YES user_id=99768 Fix is committed to the 8.4a4 branch and backported to 8.3, in case an 8.3.5 is built.
Log in (anonymous is fine) to add a comment.