[fpc-devel] Problem with Now() and time changed by ntpd

Sven Barth pascaldragon at googlemail.com
Tue Nov 1 10:57:22 CET 2011


On 01.11.2011 10:04, zeljko wrote:
> Look into clock_gettime(CLOCK_MONOTONIC) for timing intervals. It
> suffers from several less issues due to things like multi-core systems
> and external clock settings.

But according to the manpage there is one problem (emphasis mine)

CLOCK_MONOTONIC
               Clock that cannot be set and represents monotonic time 
*since some unspecified starting point*.

>
> Also, look into the clock_getres() function.
>
> So should I open an issue about this ?

It might be the best if you want to see this solved.

Regards,
Sven



More information about the fpc-devel mailing list