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
_______________________________________________
fpc-devel maillist  -  fpc-devel@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-devel

Reply via email to