Did anybody mention gettickcount is documented as microtiming?
And should not be expanded?

On 3-11-2011 9:57, Marco van de Voort wrote:
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)
_______________________________________________
fpc-devel maillist  -  fpc-devel@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-devel

_______________________________________________
fpc-devel maillist  -  fpc-devel@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-devel

Reply via email to