From a6f1d32121b7ce8b4cb9485f238eb62f23b75c7e Mon Sep 17 00:00:00 2001 From: "Eric S. Raymond" Date: Tue, 20 Sep 2011 22:52:57 -0400 Subject: 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. --- gps/gps.py | 5 ----- 1 file changed, 5 deletions(-) (limited to 'gps/gps.py') 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." -- cgit v1.2.1