re PR fortran/55548 (SYSTEM_CLOCK with integer(8) provides nanosecond resolution...
authorJanus Weil <janus@gcc.gnu.org>
Mon, 3 Dec 2012 22:06:41 +0000 (23:06 +0100)
committerJanus Weil <janus@gcc.gnu.org>
Mon, 3 Dec 2012 22:06:41 +0000 (23:06 +0100)
commita07c4054c2e7f508a9c74eb6d5abdb16b5b7648c
tree8dc0c5e4e2960946445f05352b2e3c0644e44266
parent86035eeca65c54f7325fb6edd5839e3b59ad5002
re PR fortran/55548 (SYSTEM_CLOCK with integer(8) provides nanosecond resolution, but only microsecond precision (without -lrt))

2012-12-03  Janus Weil  <janus@gcc.gnu.org>

PR fortran/55548
* intrinsics/system_clock.c (gf_gettime_mono): Add argument 'tck',
which returns the clock resolution.
(system_clock_4): Get resolution from gf_gettime_mono, but limit to
1000/s.
(system_clock_8): Get resolution from gf_gettime_mono.

2012-12-03  Janus Weil  <janus@gcc.gnu.org>

PR fortran/55548
* intrinsic.texi (SYSTEM_CLOCK): Update documentation of SYSTEM_CLOCK.

From-SVN: r194105
gcc/fortran/ChangeLog
gcc/fortran/intrinsic.texi
libgfortran/ChangeLog
libgfortran/intrinsics/system_clock.c