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.

_______________________________________________
fpc-pascal maillist  -  fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal

Reply via email to