summaryrefslogtreecommitdiff
path: root/ntpshmread.c
Commit message (Collapse)AuthorAgeFilesLines
* splint cleanup of new code.Eric S. Raymond2015-03-081-0/+1
|
* ppsthread.c is now fully decoupled from the libgpsd_core.c structures.Eric S. Raymond2015-03-081-1/+0
| | | | | | | | | | | | | | | | | The files ntpshm.h ntpshmread.c ntpshmwrite.c ppsthread.[ch] timespec_str.[ch] now form a standalone group which can be used for NTP communication and PPS thread monitoring. Separation is not yet perfect, as ppsthread.c requires gpsd_config.h for HAVE_SYS_TIMEPPS_H and npshmread.c/ntpshmwrite.c both require compiler.h. All regression tests pass. PPS is live on a GR-601W.
* Begin factoring out ntplib.Eric S. Raymond2015-03-071-2/+2
| | | | | | | All knowledge of the ntpd SHM format is now confined to the three files ntpshm.h, ntpshmread.c, and ntpshmwrite.c. No logic changes. All regression tests pass. PPS works on GR-601W.
* Comment and documentation polishing.Eric S. Raymond2015-03-061-3/+5
|
* Cmmment typo.Gary E. Miller2015-03-031-1/+1
| | | | ntp -> ntpd
* Tell ntpshhmon to merely snoop SHM updates, not consume them.Eric S. Raymond2015-03-031-2/+9
|
* Implement POSIX clock_gettime(3) for systems that lack it (like Mac OS X).Eric S. Raymond2015-03-011-9/+0
| | | | | | | On Mac OS X it will get proper nanosecond precision; elsewhere, only microseconds. Hides the conformance failure from the rest of the code. All regression tests pass.
* ntpshm.c -> ntpshmwrite.c; ntpmon -> ntpshmmon.Eric S. Raymond2015-02-271-1/+1
| | | | All regression tests pass.
* Whitespace & comment polishing.Eric S. Raymond2015-02-271-6/+5
|
* clock_gettime() port fix for OS X.Eric S. Raymond2015-02-271-0/+11
|
* Pre-release splint/cppcheck/coverity cleanup. All regression tests pass.Eric S. Raymond2015-02-261-5/+13
|
* Concurrency protection for ntpmon using memory barrier instructions.Eric S. Raymond2015-02-251-36/+49
|
* In gpmon, it was confusing to use 'mode' as a report field that wasn't SHM mode.Eric S. Raymond2015-02-251-10/+9
|
* Make ntpmon autoconfigure and do subsecond polling.Eric S. Raymond2015-02-251-2/+7
|
* In ntpmon, increase collection time precision and collect the precision field.Eric S. Raymond2015-02-251-2/+3
|
* ntpmon code polishing.Eric S. Raymond2015-02-251-1/+9
|
* In tpmon, timestamp reports properly and deal with bad status.Eric S. Raymond2015-02-251-0/+3
|
* First cut at an interface for the read side of an NTP SHM connection.Eric S. Raymond2015-02-251-0/+141
Not yet used or tested.