[Patch, Fortran] PR 55548: SYSTEM_CLOCK with integer(8) provides nanosecond resolution, but only microsecond precision (without -lrt)
Janus Weil
janus@gcc.gnu.org
Mon Dec 3 22:09:00 GMT 2012
>> Unless somebody else has objections, together with a documentation
>> patch and a ChangeLog entry, this is Ok for trunk.
>
> thanks, Janne. Here is an updated patch with docu and ChangeLog. I
> will wait another day before committing, in order to allow for further
> comments.
Committed as r194105.
Cheers,
Janus
> 2012-12-02 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-02 Janus Weil <janus@gcc.gnu.org>
>
> PR fortran/55548
> * intrinsic.texi (SYSTEM_CLOCK): Update documentation of SYSTEM_CLOCK.
More information about the Gcc-patches
mailing list