summaryrefslogtreecommitdiff
path: root/gps/gps.py
diff options
context:
space:
mode:
authorEric S. Raymond <esr@thyrsus.com>2011-09-20 22:52:57 -0400
committerEric S. Raymond <esr@thyrsus.com>2011-09-20 22:52:57 -0400
commita6f1d32121b7ce8b4cb9485f238eb62f23b75c7e (patch)
tree5fba20ea0ee790ac3b9373a237856c89bf4f9152 /gps/gps.py
parente9034a445991b1fdceb6d536f5415b320c049e6a (diff)
downloadgpsd-a6f1d32121b7ce8b4cb9485f238eb62f23b75c7e.tar.gz
Remove the old latency-profiling machinery.
It hasn't actually worked since we switched protocols to JSON. This diff puts the framework in place for new machinery using timing attributes in the TPV sentence.
Diffstat (limited to 'gps/gps.py')
-rwxr-xr-xgps/gps.py5
1 files changed, 0 insertions, 5 deletions
diff --git a/gps/gps.py b/gps/gps.py
index 3f68dd4e..21866828 100755
--- a/gps/gps.py
+++ b/gps/gps.py
@@ -125,7 +125,6 @@ class gpsdata:
self.devices = []
self.version = None
- self.timings = None
def __repr__(self):
st = "Time: %s (%s)\n" % (self.utc, self.fix.time)
@@ -293,10 +292,6 @@ class gps(gpsdata, gpsjson):
if sat.used:
self.satellites_used += 1
self.valid = ONLINE_SET | SATELLITE_SET
- elif self.data.get("class") == "TIMING":
- self.data["c_recv"] = self.received
- self.data["c_decode"] = time.time()
- self.timings = self.data
def read(self):
"Read and interpret data from the daemon."