[fpc-devel] Problem with Now() and time changed by ntpd
Luca Olivetti
luca at ventoso.org
Wed Nov 2 21:52:14 CET 2011
Al 02/11/11 09:31, En/na Mark Morgan Lloyd ha escrit:
> But even in this case, what should happen if the user (or NTP) explicitly changes the system clock? Ultimately, what matters for relative timing is ticks-since-boot.
>From the link posted before:
http://www.kernel.org/doc/man-pages/online/pages/man2/clock_gettime.2.html
CLOCK_MONOTONIC_RAW (since Linux 2.6.28; Linux-specific)
Similar to CLOCK_MONOTONIC, but provides access to a raw hardware-based
time that is not subject to NTP adjustments.
(i.e., similar to GetTickCount under windows, the problem is that's Linux-specific).
Bye
--
Luca
More information about the fpc-devel
mailing list