<br><br><div class="gmail_quote">On Wed, Aug 8, 2012 at 3:22 PM, Louis LaBrunda <span dir="ltr"><<a href="mailto:Lou@keystone-software.com" target="_blank">Lou@keystone-software.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<br>
Hi Eliot,<br>
<div class="im"><br>
>Oh, and importantly, the VM ups the resolution of timeGetTime() via timeBeginPeriod to 1 millisecond if possible.<br>
<br>
</div>Thanks for the replies. One more question, what is used for Linux or UNIX<br>
systems? I would like to recommend to Instantiations (VA Smalltalk) that<br>
they change to functions that give a finer resolution than GetTickCount<br>
(which is what I think they or IBM use).<br></blockquote><div><br></div><div>gettimeofday. On linux this does'nt necessarily have great resolution. On Mac OS it has > 1ms resolution.</div><div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<br>
The current VA Smalltalk code in this area asks for a timer interrupt every<br>
100 milliseconds. It then checks delays and callback that have been posted<br>
to see if any need to expire. So, you can't really do a delay for less<br>
than 100 milliseconds. Even though there are places in the base code that<br>
sets delays at less than 100 milliseconds.<br>
<br>
I have a few programs where this is a problem. There is a method where I<br>
can drop the interrupt period and I have used it to set the interrupt<br>
period to 10 milliseconds and that helps my programs greatly. But it<br>
really only drops the resolution to 15 milliseconds.<br>
<br>
I would like to point Instantiations to the functions that will give a 1<br>
millisecond resolution on all the systems they support.<br>
<br>
Many thanks.<br>
<div class="HOEnZb"><div class="h5"><br>
Lou<br>
-----------------------------------------------------------<br>
Louis LaBrunda<br>
Keystone Software Corp.<br>
SkypeMe callto://PhotonDemon<br>
mailto:<a href="mailto:Lou@Keystone-Software.com">Lou@Keystone-Software.com</a> <a href="http://www.Keystone-Software.com" target="_blank">http://www.Keystone-Software.com</a><br>
<br>
</div></div></blockquote></div><br><br clear="all"><div><br></div>-- <br>best,<div>Eliot</div><br>