[Lazarus] Portable way to get accurate timestamps?

Michael Schnell mschnell at lumino.de
Thu Feb 24 13:17:25 CET 2011


On 02/24/2011 12:58 PM, Bo Berglund wrote:
>
> It seems like I am out of luck doing this with readily available
> hardware such as PC:s, notebooks or embedded linux cards running
> software
IMHO, the _Hardware_ is not the problem at all, but the OS is. You need 
to use a decent realtime OS (or none) to get msec resolution. There are 
several projects to make Linux more realtime aware. Those that are 
usable for _real_ realtime stuff (i.e. the realtime-processes need to 
meed predefined latency specifications without any exception) use a 
realtime OS below Linux and have Linux run as the lowest priority 
process of same.

-Michael




More information about the Lazarus mailing list