Re: [Patch, fortran] PR 53456 Improve time resolution on targets without gettimeofday

2012-05-23 Thread Janne Blomqvist
On Wed, May 23, 2012 at 6:36 PM, Tobias Burnus wrote: > Hi Janne, > > > On 05/23/2012 04:44 PM, Janne Blomqvist wrote: >> >> some targets such as VXWorks don't provide gettimeofday but do provide >> clock_gettime. The attached patch allows such targets to get better >> resolution for the DATE_AND_

Re: [Patch, fortran] PR 53456 Improve time resolution on targets without gettimeofday

2012-05-23 Thread Tobias Burnus
Hi Janne, On 05/23/2012 04:44 PM, Janne Blomqvist wrote: some targets such as VXWorks don't provide gettimeofday but do provide clock_gettime. The attached patch allows such targets to get better resolution for the DATE_AND_TIME (up to the 1 millisecond limit of the API) intrinsic than the 1 sec

[Patch, fortran] PR 53456 Improve time resolution on targets without gettimeofday

2012-05-23 Thread Janne Blomqvist
Hi, some targets such as VXWorks don't provide gettimeofday but do provide clock_gettime. The attached patch allows such targets to get better resolution for the DATE_AND_TIME (up to the 1 millisecond limit of the API) intrinsic than the 1 second resolution provided by the current fallback of usin