Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: 2e10eb3553bcb6d2e56a242178e2b01e277bac51
Ticket: 478847ffffffffffffffffffffffffffffffffff
time command returns negative results
User & Date: nobody on 2001-11-06 20:30:00
Changes

  1. assignee changed to: "kennykb"
  2. cmimetype changed to: "text/plain"
  3. comment changed to:
    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
    
    
  4. foundin changed to: "obsolete: 8.3.2"
  5. priority changed to: "5 Medium"
  6. resolution changed to: "None"
  7. status changed to: "Open"
  8. submitter changed to: "nobody"
  9. subsystem changed to: "06. Time Measurement"
  10. title changed to: "time command returns negative results"
  11. type changed to: "Bug"