Hello Lazarus-List, Monday, February 21, 2011, 7:23:54 AM, you wrote:
BB> When I run a test against a fairly accurate GPS time source I see that BB> there is an uncertainty of about 16 ms in the time given such that if BB> GetTickCount is executed at exactly 1 second intervals the last two BB> digits of the value is not the same as it should be. BB> Instead it slowly (over a period of 16 seconds) reduces by 16 ms and BB> then suddenly restores to a max value. BB> It is like a superimposed sawtooth with an amplitude of 16 ms. Quote from MSDN: "The resolution of the GetTickCount function is limited to the resolution of the system timer, which is typically in the range of 10 milliseconds to 16 milliseconds. The resolution of the GetTickCount function is not affected by adjustments made by the GetSystemTimeAdjustment function." -- Best regards, José -- _______________________________________________ Lazarus mailing list [email protected] http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus
