Re: [Linuxptp-users] clock_nanosleep on /dev/ptpX
PTP IEEE 1588 stack for Linux
Brought to you by:
rcochran
From: Richard C. <ric...@gm...> - 2014-02-19 14:41:36
|
On Wed, Feb 19, 2014 at 02:19:41PM +0000, Koehrer Mathias (ETAS/ESW5) wrote: > I want to run an application on each of the PCs, the execution should be synchronized. Do you have specific performance requirements? > Does this mean that I have to use phc2sys to use the system clock again? Yes. > Or is there any way to work directly on the PTP clock? No. The dynamic posix clock implementation does allow the (future) possibility of implementing timers directly on the PHC devices. It would mean a fair amount of kernel work to actually make this work. I might do it one day, but so far I haven't had a really compelling reason to do so. Probably using the Linux system clock (and phc2sys) will be good enough most of the time. It would be interesting to find out whether that is true for your own application. Thanks, Richard |