The unfortunate deprecation of GetTickCount

classic Classic list List threaded Threaded
21 messages Options
12
Reply | Threaded
Open this post in threaded view
|

Re: The unfortunate deprecation of GetTickCount

R0b0t1
On Thu, Apr 12, 2018 at 1:10 AM, Graeme Geldenhuys
<[hidden email]> 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
_______________________________________________
fpc-pascal maillist  -  [hidden email]
http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal
12