|Re: [chrony-users] chrony receiveing GPS timestamp over UDP packet to update SHM|
[ Thread Index | Date Index | More chrony.tuxfamily.org/chrony-users Archives ]
On 19/04/2015 09:42, Pratik Pawar wrote:
You can't "simulate" a time reference source. If it were any good then it would be an actual time reference source.
Having a list of timestamps in a file is completely useless; presumably you're sleeping for 200ms in that "another application" and now that operation, as well as the delay in reading from the file and sending the packet over UDP, is your new timebase. That is going to be orders of magnitude less stable than just using the existing, unreferenced system clock in the first place (which is driven by an oscillator, not by entirely unpredictable mechanical movements, memory congestion, CPU congestion, network conditions...).
You should rethink your goal here.
Hope that helps
|Mail converted by MHonArc 2.6.19+||http://listengine.tuxfamily.org/|