On 12/09/2011 02:52 PM, Sven Barth wrote:
The description of Felipe mathes Windows' GetTickCount (number of milliseconds since system start) and Linux' MONOTONIC_RAW time (or however it is called exactly). So I don't see why this should rule out OS time API calls...
He writes: " Ticks are time intervals and all of them have the same duration "
So the counting is not allowed to stop or to jump forward in case a time server access by daemon changing the system time is not allowed to interfere in any way.
So I suppose "GetTickCount (number of milliseconds since system start)" would be OK, but MONOTONIC_RAW time does not _sound_ correct.
On Linux, "get_jiffies_64()" seems to be a decent Kernel call. -Michael _______________________________________________ fpc-devel maillist - fpc-devel@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-devel