[Lazarus] Better implementation of GetTickcount using clock_gettime

Mattias Gaertner nc-gaertnma at netcologne.de
Wed Apr 2 17:12:03 CEST 2014


On Wed, 02 Apr 2014 16:54:18 +0200
zeljko <zeljko at holobit.net> wrote:

> >[...]
> Ok, but what about NTP and adjtime() ?

For small differences NTP uses incremental adjustments. The clock
"ticks" a bit slower or faster until the kernel clock is in sync
with the time server. Applications do not notice this, unless they
compare with other time sources.
Keep in mind that this is about milliseconds since start, not about
country time or date.

Mattias




More information about the Lazarus mailing list