home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #30 / NN_1992_30.iso / spool / comp / lang / fortran / 4740 < prev    next >
Encoding:
Text File  |  1992-12-15  |  1.1 KB  |  30 lines

  1. Newsgroups: comp.lang.fortran
  2. Path: sparky!uunet!spool.mu.edu!agate!ames!news.hawaii.edu!galileo!tholen
  3. From: tholen@galileo.ifa.hawaii.edu (Dave Tholen)
  4. Subject: Re: elapsed time
  5. Message-ID: <1992Dec16.001733.17047@news.Hawaii.Edu>
  6. Sender: root@news.Hawaii.Edu (News Service)
  7. Nntp-Posting-Host: galileo.ifa.hawaii.edu
  8. Organization: University of Hawaii
  9. Distribution: usa
  10. Date: Wed, 16 Dec 1992 00:17:33 GMT
  11. Lines: 17
  12.  
  13. Mike Bandy writes:
  14.  
  15. >> hi.
  16. >> Does anyone know what the time functions are in fortran?
  17. >> I want to know the elasped time when I run the program.
  18. >> Thanks in advance.
  19.  
  20. > You'll have to look at the system services offered by the operating
  21. > system under which your program runs.  Fortran, unlike C, does
  22. > not a standard portfolio of common system services.
  23.  
  24. Which is one reason why I like OS/2.  The API offers a standard
  25. portfolio of common system services.  All the compiler has to do
  26. is provide hooks into the API.  And in those cases where the 
  27. library provides a routine that duplicates one in the API, I
  28. have found the API version to be much faster (like getting the
  29. date and time).
  30.