<div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr">Hello everyone.<div>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.</div><div>The algorithm is basically implemented in three functions, <i>system_time_ns</i>, <i>sync_distributed_clocks, </i>and <i>update_master_clock.</i></div><div>There are many variables (both global and local) used in those functions.</div><div>Which one shows the difference between the slave's and the master's clock? </div><div>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.</div><div>Best,</div><div>Mohsen</div><div><br></div><div><br></div></div></div></div></div>