[fpc-pascal] The unfortunate deprecation of GetTickCount

R0b0t1 r030t1 at gmail.com
Thu Apr 12 21:22:04 CEST 2018


On Thu, Apr 12, 2018 at 1:10 AM, Graeme Geldenhuys
<mailinglists at geldenhuys.co.uk> wrote:
> On 2018-04-11 17:44, R0b0t1 wrote:
>> This is related to something I meant to propose a while ago related to
>> a cross platform timing and alarm API.
>
> That already exists in the form of EpikTimer
> (https://github.com/graemeg/epiktimer). That is the latest
> implementation with the permission of the original author.
>
> It uses the highest resolution timer it can find on each platform, and
> GetTickCount/GetTickCount64 as a fall-back in case no higher resolution
> timer exists. High resolution timers exists for Windows, Linux and
> FreeBSD - that I know of. OSX might also be implemented.
>

Ah, right - I think this is why I ultimately never did anything.
Someone already completed it. Glad to hear it is still receiving
updates!

Cheers,
     R0b0t1


More information about the fpc-pascal mailing list