[Lazarus] How to program with time in milliseconds?
Michael Schnell
mschnell at lumino.de
Tue May 13 13:03:50 CEST 2014
On 05/13/2014 12:00 PM, Henry Vermaak wrote:
> This doesn't have anything to do with vDSO, though. The standard
> library doesn't use any assembler to read these registers. It calls
> into a page that the kernel makes available to userspace that contains
> certain functions where the overhead of a syscall is deemed
> excessive/undesirable.
This is a good idea, as the same stuff might be available for other CPU
archs, potentially doing system calls that just do some software based
things instead of using CPU hardware.
It might be viable to do the implementation of this in the RTL or LCL to
provide arch and OS independent calls to the users. (i.e. integrating an
advanced version of the Epik Timer package in the library)
-Michael
More information about the Lazarus
mailing list