summaryrefslogtreecommitdiff
path: root/ntpshm.h
diff options
context:
space:
mode:
authorGary E. Miller <gem@rellim.com>2015-04-01 11:31:27 -0700
committerGary E. Miller <gem@rellim.com>2015-04-01 11:57:52 -0700
commit12c6d562b86539986220c3f97238cb6f78200f11 (patch)
treea98834cfe655340154c5cf83801476180fb58bc4 /ntpshm.h
parent3d64ec6442cd7a7dcdd03a4f8df6eb9c8da7c9f5 (diff)
downloadgpsd-12c6d562b86539986220c3f97238cb6f78200f11.tar.gz
Document ntpshmmon structure and add heading to output
All the clocks look alike...
Diffstat (limited to 'ntpshm.h')
-rw-r--r--ntpshm.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/ntpshm.h b/ntpshm.h
index f3e9945b..94faa77f 100644
--- a/ntpshm.h
+++ b/ntpshm.h
@@ -60,7 +60,9 @@ enum segstat_t {OK, NO_SEGMENT, NOT_READY, BAD_MODE, CLASH};
struct shm_stat_t {
enum segstat_t status;
- struct timespec tvc, tvr, tvt;
+ struct timespec tvc; /* System time when SHM read, for debug only */
+ struct timespec tvr; /* System time at GPS time */
+ struct timespec tvt; /* GPS time */
int precision;
int leap;
};