diff options
author | sebres <sebres@users.sourceforge.net> | 2017-02-09 13:45:14 (GMT) |
---|---|---|
committer | sebres <sebres@users.sourceforge.net> | 2017-02-09 13:45:14 (GMT) |
commit | c88fb138612db4499a9e841453cd14bfd5db7224 (patch) | |
tree | b5047ac8c5dbb28b0abc02d0c9d32893bae6ef97 /doc/CallDel.3 | |
parent | fb811680f60f0555a27685601c519ff931956593 (diff) | |
download | tcl-c88fb138612db4499a9e841453cd14bfd5db7224.zip tcl-c88fb138612db4499a9e841453cd14bfd5db7224.tar.gz tcl-c88fb138612db4499a9e841453cd14bfd5db7224.tar.bz2 |
[win] accomplished winTime module using very fast wide clicks, with denominator scale to/from microseconds, and therefore more precise "timerate" results under windows (using similar mechanisms as by Mac OSX).
Especially multi-threaded, because it works without lock opposite to microseconds (that use crictical section, because of the calibration thread).
The reason for usage of wide clicks instead microseconds explains following example (shows 20% performance deference):
% timerate -calibrate {}
% timerate {clock microseconds} 5000
0.297037 µs/# 14465901 # 3366585 #/sec 4296.906 nett-ms
% timerate {clock clicks} 5000
0.247797 µs/# 16869084 # 4035554 #/sec 4180.116 nett-ms
Diffstat (limited to 'doc/CallDel.3')
0 files changed, 0 insertions, 0 deletions