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
<firstname.lastname@example.org>, 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
Matt Crawford <email@example.com> gave me a C routine (callable
from Fortran) that has the same accuracy.
Thanks also to David Fetrow <firstname.lastname@example.org>
Mario Carpino, CARPINO@ASTMIB.ASTRO.IT
This archive was generated by hypermail 2.1.2 : Fri Sep 28 2001 - 23:06:17 CDT