Skip to contentSkip to conversation

clock_gettime(CLOCK_HOST_REALTIME) equivalent using native skin?

Xenomai Michael Haberler 1 participant 1 message Aug 31, 2015

lore
Share & tools
lore
#0 lore raw

We are planning to synchronize several nodes running machinekit with IEEE1588/Precision Time Protocol using the ptpd debian sid package ptp adjusts the tunable kernel clock through adjtimex(2) similar to ntpd

Assuming Xenomai2, it seems the Posix skin's clock_gettime(CLOCK_HOST_REALTIME) is the way to access this timebase

do I need to use the Posix skin or is there a way to do the equivalent using the native API?

thanks in advance,

Michael