Current Beaglebone Black images offer support for high resolution timers in 
Linux kernel. They are controlled by ktime.h library and depend on system's 
clocks (CLOCK_MONOTONIC, CLOCK_REALTIME,...). The clocks can be looked up 
from userspace programs with commands clock_gettime 
<https://linux.die.net/man/2/clock_gettime>, clock_settime and clock_getres 
from time.h library.
What I would like to do is make/write a protocol in c that would 
synchronize realtime clocks between two boards over ethernet cable 
connection or internet. My goal is testing how accurately two clocks can be 
set to the same global time under different protocols. I'm planning to 
start with ntp, would using an existing library or client make sense here? 
I read BBB sometimes comes with daemons for ntp, in that case how would I 
set one board to act as a server in protocol?

-- 
For more options, visit http://beagleboard.org/discuss
--- 
You received this message because you are subscribed to the Google Groups 
"BeagleBoard" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/beagleboard/6871e854-9b75-4f34-ba99-9d489cfd7908o%40googlegroups.com.

Reply via email to