On Wed, April 11, 2018 18:44, R0b0t1 wrote:

> This is related to something I meant to propose a while
> ago related to a cross platform timing and alarm API.
> I do not think GetTickCount should ever be used;
> instead, QueryPerformanceCounter makes more sense. It is
> higher resolution and still portable. The Linux function
> `clock_gettime` called with `CLOCK_REALTIME_HR` is more
> or less a direct equivalent.

No, it isn't portable (neither is GetTickCount, BTW) - there are many more
targets supported by FPC than MS Windows and Linuxm


fpc-pascal maillist  -  fpc-pascal@lists.freepascal.org

Reply via email to