summaryrefslogtreecommitdiff
path: root/ntpshm.h
diff options
context:
space:
mode:
authorEric S. Raymond <esr@thyrsus.com>2015-02-25 07:02:16 -0500
committerEric S. Raymond <esr@thyrsus.com>2015-02-25 07:02:16 -0500
commit3c88096379eb6209bea197888c5fe6c88898355d (patch)
tree73000b87bd95d33d36e400b568efa968d1d9b3fc /ntpshm.h
parent2d8bf60a27d43d5b92ab9a40f9c3322d04d7a0d8 (diff)
downloadgpsd-3c88096379eb6209bea197888c5fe6c88898355d.tar.gz
In ntpmon, increase collection time precision and collect the precision field.
Diffstat (limited to 'ntpshm.h')
-rw-r--r--ntpshm.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/ntpshm.h b/ntpshm.h
index 5e7103a0..07a02a8d 100644
--- a/ntpshm.h
+++ b/ntpshm.h
@@ -53,8 +53,8 @@ enum segstat_t {
struct shm_stat_t {
int mode;
- struct timespec tvr, tvt;
- time_t now;
+ struct timespec tvc, tvr, tvt;
+ int precision;
int leap;
};