Resolution of the System_Clock(TICKS,RATE,MAX) intrinsic degraded from about 3.6 MHz to 1,000 Hz when I upgraded from g77 to gfortran (for Windows).
There is a computer clock that I have accessed in Visual Basic that represents elapsed time since my computer was turned on, returned as an integer*8 quantity, which operates at the higher frequency. It should be possible for you to offer something similar by re-writing System_Clock(TICKS,RATE,MAX) to operate at the higher frequency (as it was in g77) and return TICKS as an integer*8. -- Summary: System_Clock Product: gcc Version: unknown Status: UNCONFIRMED Severity: normal Priority: P3 Component: fortran AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: DavidLNewton at yahoo dot com http://gcc.gnu.org/bugzilla/show_bug.cgi?id=37832