My original enquiry was about a FORTRAN routine giving the elapsed
CPU time on a Sparcstation.
The most obvious (and useful) answer was from Michael Pearlman
<canuck@rice.edu>, who pointed out that in the Sun Fortran Library
there are two routines (etime and dtime) which do the job.
They are reported in the Sun FORTRAN Programmer's Guide
(if everything else fails, read the handbook!).
The resolution on my Sparc 2 is 1/100 seconds and the results
can vary by 0.01-0.02 seconds when the same program is run
another time.
Matt Crawford <matt@oddjob.uchicago.edu> gave me a C routine (callable
from Fortran) that has the same accuracy.
Thanks also to David Fetrow <fetrow@orac.biostat.washington.edu>
Mario Carpino, CARPINO@ASTMIB.ASTRO.IT
This archive was generated by hypermail 2.1.2 : Fri Sep 28 2001 - 23:06:17 CDT