comp.lang.idl-pvwave archive
Messages from Usenet group comp.lang.idl-pvwave, compiled by Paulo Penteado

Home » Public Forums » archive » NT and Unix systime precision
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Return to the default flat view Create a new topic Submit Reply
NT and Unix systime precision [message #7675] Fri, 13 December 1996 00:00
Ken Stone is currently offline  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
____________________________________________________________ ___________
[Message index]
 
Read Message
Previous Topic: Re: Fortran and byte swapping
Next Topic: Fortran and byte swapping

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ] [ PDF ]

Current Time: Fri Oct 10 15:25:58 PDT 2025

Total time taken to generate the page: 1.44417 seconds