[fpc-pascal] EpikTimer v1.0.1 released
Michael Schnell
mschnell at lumino.de
Mon Jun 2 09:51:57 CEST 2014
On 05/28/2014 06:09 PM, Henry Vermaak wrote:
> an ifdef to call QueryPerformanceCounter/()clock_gettime() based on OS.
>> Things like this is why I'd rather use dVSO.
> Calling the vDSO will certainly make things faster.
For me, the point is, that with vDSO, the Linux infrastructure will
handle the dirty stuff that is involved with such low level greatly
arch depending things. It is supposed to work "out of the box", even if
for certain archs no support from the hardware is available and provide
the best possible support by the Kernel software.
For C programmers, this is automatically in place, as libC and the
Kernel are done appropriately. fpc (supposedly for good reasons) is
determined to reduce libC dependance as much as possible. Hence the rtl
needs to provide arch dependent low level stuff internally.
As it is provided directly by the Linux Kernel, vDSO is a way to take
advantage of Kernel provided arch-independence without using libC.
-Michael
More information about the fpc-pascal
mailing list