Setting the TAI offset is useful to have correct information in the adjtimex field and also to get correct time from CLOCK_TAI, which is implemented by the kernel as CLOCK_REALTIME + TAI offset.
The first patch simplifies the phc2sys code a bit to make it easier for the second patch. The third patch fixes "make clean; make" on system where leap seconds are tested and the time is jumping backwards :). Miroslav Lichvar (3): phc2sys: track sync offset and leap second status in each clock. Set TAI offset of system clock. makefile: remove programs on clean. clock.c | 9 +++++ clockadj.c | 11 +++++++ clockadj.h | 6 ++++ makefile | 2 +- phc2sys.c | 109 +++++++++++++++++++++++++++++++------------------------------ 5 files changed, 83 insertions(+), 54 deletions(-) -- 1.9.3 ------------------------------------------------------------------------------ HPCC Systems Open Source Big Data Platform from LexisNexis Risk Solutions Find What Matters Most in Your Big Data with HPCC Systems Open Source. Fast. Scalable. Simple. Ideal for Dirty Data. Leverages Graph Analysis for Fast Processing & Easy Data Exploration http://p.sf.net/sfu/hpccsystems _______________________________________________ Linuxptp-devel mailing list Linuxptp-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/linuxptp-devel