[Lazarus] Better implementation of GetTickcount using clock_gettime

Luca Olivetti luca at wetron.es
Wed Apr 2 10:05:42 CEST 2014


El 02/04/14 10:01, Mattias Gaertner ha escrit:
> On Wed, 02 Apr 2014 09:47:45 +0200
> Luca Olivetti <luca at wetron.es> wrote:
> 
>> [...]
>> Btw, in theory CLOCK_MONOTONIC_RAW should be even better, though it's
>> only available from linux 2.6.28
> 
> CLOCK_MONOTONIC_RAW lacks the fixes by NTP.

Isn't that's desirable for the semantic of GetTickCount?

Bye
-- 
Luca Olivetti
Wetron Automation Technology http://www.wetron.es
Tel. +34 935883004  Fax +34 935883007




More information about the Lazarus mailing list