NT and Unix systime precision [message #7675] |
Fri, 13 December 1996 00:00 |
Ken Stone
Messages: 8 Registered: December 1996
|
Junior Member |
|
|
Hello,
Does anyone know how precise the systime call is on NT vs on a Unix
platform? On Unix I seem to be able to see differences in the
system time down below a millisecond without any problem. On NT though
it appears that I can only get precision down to about 0.01 seconds.
For instance on Unix:
IDL> t1 = systime(1) & a = fltarr(10000) & t2 = systime(1)
IDL> t3 = t2 -t1
IDL> print, t3, format='(F10.8)'
0.00018597
and on Windows NT:
0.00000000
The systime() seems to return a double precision value, but there
isn't any information beyond 0.01 seconds.
This isn't a huge problem for us right now, but it's now a question
of how many other functions will I run into that are different on NT
vs Unix? I'm new to the NT world, so forgive me if I've overlooked
something obvious.
Thanks,
Ken
____________________________________________________________ _________
Ken Stone k.a.stone@gats.hampton.va.us
GATS, Inc.
28 Research Drive
Hampton VA 23666 (757) 864-5673
____________________________________________________________ ___________
|
|
|