[Lazarus] EpikTimer v1.0.1 released
Michael Schnell
mschnell at lumino.de
Mon Jun 30 14:21:02 CEST 2014
On 05/24/2014 01:55 PM, Graeme Geldenhuys wrote:
> ...
Finally I found that using theTSC supposedly in fact will not work
reliabbly in SMP systems (which are ubiquitous right now).
http://linux.die.net/man/3/clock_gettime :
NOTE for SMP systems
The CLOCK_PROCESS_CPUTIME_ID and CLOCK_THREAD_CPUTIME_ID clocks are
realized on many platforms using timers from the CPUs (TSC on i386,
AR.ITC on Itanium). These registers may differ between CPUs and as a
consequence these clocks may return bogus results if a process is
migrated to another CPU.
.-Michael
More information about the Lazarus
mailing list