[etherlab-users] A question about the master's clock synchronization algorithm used in rtai_rtdm_dc

Mohsen Alizadeh Noghani m.alizad3h at gmail.com
Sun Oct 28 13:07:50 CET 2018

Hello everyone.
In the rtai_rtdm_dc example, there is a choice of syncing the master's
clock to the reference slave, instead of the other way around.
The algorithm is basically implemented in three functions, *system_time_ns*,
*sync_distributed_clocks, *and *update_master_clock.*
There are many variables (both global and local) used in those functions.
Which one shows the difference between the slave's and the master's clock?
I'm looking for something similar to resgister 0x92c, which could be read
in case of syncing the slave 0's clock to the master's.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.etherlab.org/pipermail/etherlab-users/attachments/20181028/d2eab82f/attachment.html>

More information about the etherlab-users mailing list