diff options
author | Eric S. Raymond <esr@thyrsus.com> | 2005-02-17 06:21:58 +0000 |
---|---|---|
committer | Eric S. Raymond <esr@thyrsus.com> | 2005-02-17 06:21:58 +0000 |
commit | fbc36bec5ed0a6826d75475ad5aaf12a7b6b4d81 (patch) | |
tree | 3a00b2f6ae7dcaa5fa6810318cb32247f8c587e0 /gps.py | |
parent | 4a0ff9adfe41106e87a2daa97b34c4832c785325 (diff) | |
download | gpsd-fbc36bec5ed0a6826d75475ad5aaf12a7b6b4d81.tar.gz |
Measure RS232 transmission time rather than deducing it.
Diffstat (limited to 'gps.py')
-rwxr-xr-x | gps.py | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -265,9 +265,10 @@ class gps(gpsdata): elif cmd in ('Z', 'z'): self.profiling = (data[0] == '1') elif cmd == '$': - (self.tag, length, gps_time, recv_time, decode_time, poll_time, emit_time) = data.split() + (self.tag, length, gps_time, xmit_time, recv_time, decode_time, poll_time, emit_time) = data.split() self.length = int(length) self.gps_time = float(gps_time) + self.d_xmit_time = float(xmit_time) self.d_recv_time = float(recv_time) self.d_decode_time = float(decode_time) self.poll_time = float(poll_time) |