Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: 280887e22dac53107ba762a3056402bb2fdf97fe
Ticket: 1038541fffffffffffffffffffffffffffffffff
CPU-Performance increase with MM-Timer
User & Date: nobody on 2004-10-01 15:06:30
Changes

  1. assignee changed to: "kennykb"
  2. cmimetype changed to: "text/plain"
  3. comment changed to:
    Hi,
    
    I have a several Labels which were filled by a socket 
    communication with a console program 10 times per 
    second. This works fine with about 1%-2% cpu-
    performance.
    
    i also have another program which does a while-loop and 
    in this while loop it makes a sleep of one ms. For this i 
    used before the while loop the command timebeginperiod
    (1). This allows timing accurracy of one millisecond. If 
    this program runs standalone it also uses 1%-2% 
    performance.
    
    Now the problem :
    If both programs are run the cpu-performance increases 
    to about 20%-50%. Tested on NT/2000, slow and fast 
    cpu. Wish is now on topmost of process list !
    I also tried it in debug -modus and exactly after i do the 
    command timebeginperiod(1) the cpu-usage increases !
    
    There must be a bug in the timing-routine of tcl !
    
    Example programs appended.
    1.) first start tcl-script then showmess. Look for CPU-
    usage
    2.) close both and start checkmittimebegin1. Look for 
    cpu-usage
    3.) start all three and look for cpu-usage
    
    Thanks in advance
    Joe
    [email protected]
    
  4. foundin changed to: "obsolete: 8.4.7"
  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: "01. Notifier"
  10. title changed to: "CPU-Performance increase with MM-Timer"
  11. type changed to: "Bug"