[Lazarus] Portable way to get accurate timestamps?

Michael Schnell mschnell at lumino.de
Tue Feb 22 09:30:14 CET 2011


On 02/22/2011 06:56 AM, Bo Berglund wrote:
> I should have added that instead of a sawtooth like noise component
> using Frac(Now()) * 24*3600 to get the second since midnight gives
> random noise in the seconds values of about 3-4 ms.
No wonder. In a non-realtime OS like Windows of Linux, you can't create 
sound using a timer in a user land program.

-Michael




More information about the Lazarus mailing list