From: Dave Love Newsgroups: comp.os.msdos.djgpp Subject: Re: Need FORTRAN (g77) callable system time function or subroutine Date: 23 Feb 1997 18:51:21 +0000 Organization: Daresbury Laboratory, Warrington WA4 4AD, UK Lines: 16 Message-ID: References: <330CCE11 DOT B26 AT sprynet DOT com> NNTP-Posting-Host: djlvig.dl.ac.uk To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp >>>>> "Jerry" == Jerry A Green writes: Jerry> In order for these benchmark programs to work effectively, I Jerry> need to find a FORTRAN callable function or subroutine which Jerry> supplies a high resolution time value (as least millisecond Jerry> resolution). Does anyone know of the whereabouts of such a Jerry> function/subroutine? `etime' in may be accurate enough under DJGPP. Jerry> Or, alternatively, how can I call a C time function from Jerry> FORTRAN (g77, DJGPP 2.01)? If the G77 manual doesn't provide enough information on the calling conventions, report it as a bug (with details).