[Lazarus] Better implementation of GetTickcount using clock_gettime
Marco van de Voort
marcov at stack.nl
Wed Apr 2 14:29:00 CEST 2014
On Wed, Apr 02, 2014 at 01:19:39PM +0200, Luca Olivetti wrote:
> > CLOCK_MONOTONIC_RAW would better emulate the WinAPI
> > function GetTickCount.
>
> Well, yes, isn't that the function we're trying to emulate?
>
> (note that I personally don't need the precision, for me
> CLOCK_MONOTONIC_COARSE would probably be more than enough).
I don't see _RAW and _COARSE anywhere in the mentioned opengroup link.
Keep in mind this is UNIX gettickcount, not linux gettickcount.
More information about the Lazarus
mailing list