Overview
| Comment: | [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 |
|---|---|
| Timelines: | family | ancestors | descendants | both | sebres-trunk-timerate |
| Files: | files | file ages | folders |
| SHA1: |
a26ab7123b7685a052a05e959d3d4033 |
| User & Date: | sebres on 2017-02-09 13:45:14.500 |
| Other Links: | branch diff | manifest | tags |
Context
|
2017-03-06
| ||
| 20:18 | merge trunk check-in: 5770326f2f user: sebres tags: sebres-trunk-timerate | |
|
2017-02-09
| ||
| 13:50 | merge sebres-trunk-timerate check-in: 83db271f3f user: sebres tags: sebres-trunk-clock-speedup | |
| 13:45 | [win] accomplished winTime module using very fast wide clicks, with denominator scale to/from micros... check-in: a26ab7123b user: sebres tags: sebres-trunk-timerate | |
| 11:36 | [timerate] bug fix: missing scale conversion by Mac OSX on platform where high resolution clicks are... check-in: ace2015c4e user: sebres tags: sebres-trunk-timerate | |
Changes
Modified generic/tclInt.h
from [bc8a24f0e0]
to [c140bcb7ba].
[diff]
Modified win/tclWinTime.c
from [3d6d5c3898]
to [55faab2aaa].
[diff]