Mike,
We are running on Solaris and UniVerse 10.1.6 Pick format. Here are the
results I got. It was on our development machine which is not quite as
beefy as our production system.
THE.START "60016" [16:40:16]
NAP.END "60118"
Average elapsed time of "NAP 1" is 10.20 milliseconds
Minimum value of "NAP 1" is 0 milliseconds
Maximum value of "NAP 1" is 1000 milliseconds
TIME.END "61118" [16:58:38]
Average difference of "TIME()" is 1000.00 milliseconds
Minimum difference of "TIME()" is 1000 milliseconds
Maximum difference of "TIME()" is 1000 milliseconds
Gordon J. Glorfield
Sr. Applications Developer
UnitedHealthcare's Mid-Atlantic Health Plans
301-360-8839
[EMAIL PROTECTED] wrote on 01/14/2007 02:48:15 PM:
> Perry,
> "NAP" takes milliseconds as its parameter, but, at least on Windows
> platforms, "NAP 1" does not sleep for 1 millisecond, but actually for
> about 15 milliseconds.
> It seems that there is a fundamental clock somewhere in the UV Basic
> runtime environment on Windows that only 'ticks' about once every
> 15-and-a-bit milliseconds (I think 15.3 ms from memory).
> You can demonstrate this by getting TIME() in a tight loop and seeing
> the values and how they change. You get the same value returned again
> and again, then it will jump up by 15 or 16 milliseconds. This has been
> the case at least across 9.6, 10.0 and 10.1 - I haven't tried 10.2 yet.
> I'd be interested if someone could try this on a Unix / Linux platform
> and see if they observe the same phenomenon, or if it's a "Windows
> Special Feature" (TM) ;-)
> Code to do it is below.
> Regards
>
> Mike
[snip]
This e-mail, including attachments, may include confidential and/or
proprietary information, and may be used only by the person or entity to
which it is addressed. If the reader of this e-mail is not the intended
recipient or his or her authorized agent, the reader is hereby notified
that any dissemination, distribution or copying of this e-mail is
prohibited. If you have received this e-mail in error, please notify the
sender by replying to this message and delete this e-mail immediately.
-------
u2-users mailing list
[email protected]
To unsubscribe please visit http://listserver.u2ug.org/