On Thu, May 15, 2014 at 09:40:44AM +0200, Michael Schnell wrote:
> At best, fpgettimeofday itself should be improved (maybe using
> "Performance counter" register if the Arch allows for or vDSO if the
> OS allows for).

Only the speed can be improved by calling into the vDSO, not the
precision.  You need to use clock_gettime() for nanosecond precision
(and to be unaffected by discontinuous clock changes).

Henry

--
_______________________________________________
Lazarus mailing list
Lazarus@lists.lazarus.freepascal.org
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus

Reply via email to