Re: bug in systime(1) on IDL 5.2 Linux/Intel? [message #14488 is a reply to message #14404] |
Mon, 01 March 1999 00:00   |
J.D. Smith
Messages: 214 Registered: August 1996
|
Senior Member |
|
|
Ivan Zimine wrote:
>
> I have the same behavior...
>
> IDL> print, !version
> { x86 linux unix 5.2 Oct 30 1998}
> IDL> t=systime(1) & f=dialog_pickfile() & print, systime(1)-t
> 3.0000000
> IDL> t=systime(1) & f=dialog_pickfile() & print, systime(1)-t
> 1.0000000
> etc 10 times
>
> Couldn't get any fractional part. I doubt that my internal timing is so
> perfect.
>
> "Woodford, Paul" wrote:
>>
>> systime(1) on IDL 5.2 Linux/Intel seems to always yield whole numbers.
>> For instance,
>>
>> print, systime(1) - long(systime(1))
>>
>> always returns 0.0000... In contrast, this statement returns various
>> fractions in IDL 5.2 WinNT/Intel and IDL 5.0 Mac. Has anyone else
>> observed this behavior? It wreaks havoc with trying to use time_test3 and
>> graphics_times3 for benchmarking.
>>
>> --
>> Paul Woodford
>> woodford@essexcorp.com
>
> --
> Ivan Zimine
> Dpt. of Radiology (MRI), Geneva University Hospitals
> email: ivan.zimine@physics.unige.ch
> tel. : (+41 22) 372 70 70
This is a known bug, and has been reported. A consequence of this I
must delay a 2nd generation idl speed survey. Without accurate timing
information, this is useless on affected architechtures. I guess we'll
just have to wait for 5.2.1.... (and even then I'll have to code around
this brokenness :{ ).
JD
--
J.D. Smith |*| WORK: (607) 255-5842
Cornell University Dept. of Astronomy |*| (607) 255-6263
304 Space Sciences Bldg. |*| FAX: (607) 255-5875
Ithaca, NY 14853 |*|
|
|
|