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.

In Windows I suppose syscalls usually are not done directly by the rtl, but functions calls to a Kernel dll are done, so that that Windows.provide dll might decide to stay in usermode if possible.

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

Reply via email to