summaryrefslogtreecommitdiff
path: root/gps.h
diff options
context:
space:
mode:
authorEric S. Raymond <esr@thyrsus.com>2005-02-16 18:45:28 +0000
committerEric S. Raymond <esr@thyrsus.com>2005-02-16 18:45:28 +0000
commit6eb2ea87b58552f82db22214ece8fea408b40fe2 (patch)
treea41ca470e117ee9cc5382ea6b627e2a2633f4146 /gps.h
parenteef6c488679b1bfb73b7c7342b8ee05cc031d076 (diff)
downloadgpsd-6eb2ea87b58552f82db22214ece8fea408b40fe2.tar.gz
Still producing negative E1+T1, but the client code looks better.
Diffstat (limited to 'gps.h')
-rw-r--r--gps.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/gps.h b/gps.h
index 777e63b1..e26296d4 100644
--- a/gps.h
+++ b/gps.h
@@ -98,6 +98,9 @@ struct gps_data_t {
int profiling; /* profiling enabled? */
char tag[MAXNAMELEN+1]; /* tag of last sentence processed */
int sentence_length; /* character count of last sentence */
+#ifdef PROFILING
+ double gps_time; /* GPS time (equivalent of utc field) */
+#endif /* PROFILING */
double d_recv_time; /* daemon receipt time (-> E+T1) */
#ifdef PROFILING
double d_decode_time; /* daemon end-of-decode time (-> D1) */