[fpc-devel] Problem with Now() and time changed by ntpd

Martin Schreiber mse00000 at gmail.com
Thu Nov 3 08:43:55 CET 2011


On Thursday 03 November 2011 08.04:17 Martin Schreiber wrote:
> On Thursday 03 November 2011 07.44:47 zeljko wrote:
> > > The results with 10'000'000 calls:
> > > 
> > > FPC Now() MSEgui nowutc() MSEgui nowlocal()
> > > 
> > > Linux
> > > 
> > >   15.29s           3.39s             3.57s
> > > 
> > > Windows
> > > 
> > >   10.00s           1.22s             1.37s
> > 
> > Have you tried latest Michael's patch for getttimeofday ?
> 
RTL recompiled with Michael's file:

 Linux
 FPC Now() MSEgui nowutc() MSEgui nowlocal()
 
  11.49s           3.86s             4.03s

Martin
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freepascal.org/pipermail/fpc-devel/attachments/20111103/4b331551/attachment.html>


More information about the fpc-devel mailing list