[fpc-devel] About GetTickCount
Marco van de Voort
marcov at stack.nl
Thu Nov 3 09:57:35 CET 2011
In our previous episode, zeljko said:
> > So, according to POSIX clock_gettime(CLOCK_MONOTONIC) is supported on
> > linux, bsd and others, and in that case we can have exact GetTickCount.
> > If there's no support for monotonic clock on some platform , now() can be
> > returned anytime.
> Forget all about this, only CLOCK_MONOTONIC_RAW is something we need but it's
> supported as of 2.6.28 kernel ... so no way.
(and afaik POSIX doesn't specify the granularity, you need to do a separate
call for that. It could be seconds)
More information about the fpc-devel
mailing list