Scheduling latency and an introduction
Ned Konz
ned at bike-nomad.com
Wed Sep 24 18:52:46 UTC 2003
On Wednesday 24 September 2003 10:17 am, Lee Azzarello wrote:
> Here's the nit picking. How does squeak deal with latency and how
> does it interface with the Windows system clock? Our NTP network is
> fairly new and it's still developing sync, but the display of the
> Windows system clock is quite inconsistant with the display of the
> Squeak clock (measured by watching the seconds ticker). I can think
> of some possible explainations for this but I don't really know
> enough about these kind of details to feel informed.
In ClockMorph>>step we call "Time now" which goes to the OS.
If you change ClockMorph>>stepTime to return 100 instead of 1000
milliseconds, is the display close enough for your needs?
This isn't a latency issue, really; it's just that there's an
asynchronous loop running Morphic, and the ClockMorph is getting its
#step method called every 1000 milliseconds. Which means that it's
only going to change every second or so.
--
Ned Konz
http://bike-nomad.com
GPG key ID: BEEA7EFE
More information about the Squeak-dev
mailing list
|