PROGRAM TEST
      integer count_0, count_1, count_rate, count_max
      real(8) delta

      WRITE(*,*) "START"
      call system_clock(count_0, count_rate, count_max)
      call sleep(2)
      call system_clock(count_1, count_rate, count_max)
      WRITE(*,*) "END"

      delta = (count_1 - count_0) * 1.0 / count_rate
      write (*,*) "Duration: ", delta

      END

-- MattWalsh - 13 Dec 2004

Topic revision: r1 - 14 Dec 2004 - MattWalsh
 
This site is powered by the TWiki collaboration platformCopyright © 2008-2012 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding TWiki? Send feedback