[Lazarus] Better implementation of GetTickcount using clock_gettime

zeljko zeljko at holobit.net
Wed Apr 2 16:54:18 CEST 2014


On 04/02/2014 03:29 PM, Mattias Gaertner wrote:
> On Wed, 02 Apr 2014 15:12:09 +0200
> zeljko <zeljko at holobit.net> wrote:
>
>> [...]
>>> On Wed, 02 Apr 2014 14:01:26 +0200
>>> zeljko <zeljko at holobit.net> wrote:
>> [...]
>> clock change due to the daylight
>> [...]
>>> See for example here:
>>> http://man7.org/linux/man-pages/man2/clock_gettime.2.html
>>
>> Do we read same man page ?
>
> Yes.
> Daylight changes are "discontinuous jumps", so CLOCK_MONOTONIC is not
> affected by it.

Ok, but what about NTP and adjtime() ?

z.





More information about the Lazarus mailing list