This is the mail archive of the fortran@gcc.gnu.org mailing list for the GNU Fortran project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [Patch, fortran] PR 56919 SYSTEM_CLOCK on Windows


On Mon, Apr 15, 2013 at 3:51 PM, Tobias Burnus <burnus@net-b.de> wrote:
> Janne Blomqvist wrote:
>>
>> I committed the attached patch with most of your suggestions as r197968.
>
>
> Thanks! Although, I assume you meant "kind=8" in the last sentence:
>
>> +the underlying platform clock. @var{COUNT_MAX} usually equals
>> +@code{HUGE(COUNT_MAX)}. Note that the millisecond resolution of the
>> +@var{kind=4} version implies that the @var{COUNT} will wrap around in
>> +roughly 25 days. In order to avoid issues with the wrap around and for
>> +more precise timing, please use the @var{kind=4} version.
>
>
> Hence, I committed the attached patch as obvious.

Indeed, thanks for spotting it, and fixing it quickly!


--
Janne Blomqvist


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]