09-14-2025, 12:29 PM
(This post was last modified: 09-14-2025, 01:40 PM by Dale Yarker.)
"If you have the time, would you let me know what your Performance Counter Frequency is, your CPU Base Frequency, and a console output of the more accurate."
Performance Counter Frequency = 10.0 Mhz
CPU Base Frequency = 2.712 GHz
In SLEEPXX
IF <= 3 THEN removed
leaving:
tix qTimeNow
qTarget = qTimeNow + n*CPUBaseFreq*0.001
ELSE and below removed
console output:
(and lined up the numeric columns)
Performance Counter Frequency = 10.0 Mhz
CPU Base Frequency = 2.712 GHz
In SLEEPXX
IF <= 3 THEN removed
leaving:
tix qTimeNow
qTarget = qTimeNow + n*CPUBaseFreq*0.001
ELSE and below removed
console output:
Code:
Quarter of a millisecond: 0.25011 ms
0 seconds:0.000915 ms
2 seconds:2000.00025 ms
Silly:1234.000192 ms
01 1.000569 ms
02 2.000056 ms
03 3.00005 ms
04 4.000054 ms
05 5.000057 ms
06 6.000113 ms
07 7.000098 ms
08 8.000083 ms
09 9.000107 ms
10 10.000101 ms
11 11.000195 ms
12 12.000125 ms
13 13.000153 ms
14 14.000107 ms
15 15.000118 ms
16 16.000076 ms
17 17.000116 ms
18 18.00092 ms
19 19.000202 ms
20 20.000146 ms
21 21.000116 ms
22 22.000131 ms
23 23.000065 ms
24 24.000117 ms
25 25.000121 ms
26 26.000182 ms
27 27.0003 ms
28 28.000197 ms
29 29.000107 ms
30 30.000088 ms