[Lazarus] How to program with time in milliseconds?

Henry Vermaak henry.vermaak at gmail.com
Thu May 15 13:06:18 CEST 2014


On Thu, May 15, 2014 at 12:12:06PM +0200, Michael Schnell wrote:
> On 05/15/2014 11:43 AM, Henry Vermaak wrote:
> >Only the speed can be improved by calling into the vDSO, not the
> >precision. You need to use clock_gettime() for nanosecond
> >precision
> 
> I see.
> 
> Is clock_gettime not available via vDSO ? To me this seems even more
> viable than for fpGetTimeOfDay.

Yes, as I said earlier.  It's in the man page, too.  And in the kernel
source I pointed to.

Henry




More information about the Lazarus mailing list