[fpc-pascal] EpikTimer v1.0.1 released
Marco van de Voort
marcov at stack.nl
Mon Jun 2 11:49:19 CEST 2014
In our previous episode, Michael Schnell said:
> On 05/28/2014 05:41 PM, Marco van de Voort wrote:
> > . But that means you need to use OS timing functions, and not ASM.
> Meaning either syscalls or vDSO.
> As in Linux syscalls do a usermode->Kernelmode->usermode switch, they
> introduce a huger overhead.
Maybe, but is that relevant? We were talking about precision, not speed.
> In Windows I suppose syscalls usually are not done directly by the rtl,
No. Windows calls kernel32/user32, which then mostly calls nt.dll functions
to do the actual syscalls afaik. And a lot more is userland on Windows.
More information about the fpc-pascal