Hi All,
The current resolution of Time>millisecondClockValue is 15ms in Windows. I'm not sure what it is in UNIX/Linux. I expect it is 15ms in Windows because of the use of the Windows GetTickCount function in the VA Smalltalk Windows VM. Which even though it answers milliseconds, it is only updated every 15ms.
The use of the timeGetTime function (under Windows) could improve the resolution to 1ms. I think Squeak does something like this.
It would also be nice if the interrupt timer code could be changed to 1ms resolution.
We can currently issue:
Delay interruptPeriod: 1.
But the resolution only drops to about 15ms.
I currently have programs where I set the interrupt period to 10 (yea it really is 15) and this makes a big difference in the throughput of these programs.
I don't think anyone is currently doing any multimedia work with VA Smalltalk but if someone did, having greater timer resolution would be helpful.
Lou
--
You received this message because you are subscribed to the Google Groups "VA Smalltalk" group.
To view this discussion on the web visit
https://groups.google.com/d/msg/va-smalltalk/-/NxPJ9egbneUJ.
To post to this group, send email to
[hidden email].
To unsubscribe from this group, send email to
[hidden email].
For more options, visit this group at http://groups.google.com/group/va-smalltalk?hl=en.