[Lazarus] Portable way to get accurate timestamps?

Michael Schnell mschnell at lumino.de
Tue Feb 22 14:08:01 CET 2011


On 02/22/2011 01:55 PM, Bo Berglund wrote:
>
>> That is logical, since TDateTime only is accurate to millisecond precision.
While TDateTime might provide mSec resolution, the functions that 
generate such a value are _much_ less exact in a user land program. Even 
is such a function would work perfectly, the OS might delay the program 
for hundreds of mSecs until  the value is used.

-Michael




More information about the Lazarus mailing list