diff options
author | Eric S. Raymond <esr@thyrsus.com> | 2011-09-20 22:52:57 -0400 |
---|---|---|
committer | Eric S. Raymond <esr@thyrsus.com> | 2011-09-20 22:52:57 -0400 |
commit | a6f1d32121b7ce8b4cb9485f238eb62f23b75c7e (patch) | |
tree | 5fba20ea0ee790ac3b9373a237856c89bf4f9152 /gps/gps.py | |
parent | e9034a445991b1fdceb6d536f5415b320c049e6a (diff) | |
download | gpsd-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-x | gps/gps.py | 5 |
1 files changed, 0 insertions, 5 deletions
@@ -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." |