> 2) He is doing some millisecond timing. What is the resolution of the
> millisecondClockValue timer?
1ms IF AND ONLY IF:
a) Your hardware supports that resolution
b) Your OS supports that resolution
c) You don't have lots of things in the background running
The VM tries Really Hard (tm) to get millisecond accuracy but there is
only so much it can do. The way to see the spread is something like:
((1 to: 1000)
collect:[:i| [(Delay forMilliseconds: 1) wait] timeToRun])
asBag sortedCounts.
On XP using a 3.5.1 VM this yields:
a SortedCollection(990->1 10->2)
so we're pretty close to 1ms.
> The results he is getting are clustering around 6 millisecond
> groups, which makes the entire application worthless.
I would suspect that's due to using Windows 98.
> Is there a more precise millisecond timer?
No. The VM uses the recommend high-resolution multi-media timer.
Cheers,
- Andreas