diff options
author | Eric S. Raymond <esr@thyrsus.com> | 2005-03-27 00:13:56 +0000 |
---|---|---|
committer | Eric S. Raymond <esr@thyrsus.com> | 2005-03-27 00:13:56 +0000 |
commit | 68b5e580b697de6ec2d8359c41b800fca6bce70a (patch) | |
tree | 9093900d85a482f38c7a518c1e43a0a0646cc097 /gpsprof | |
parent | d32aa94c6b4ee5fd4a92d7a150a02bde1b0f6f45 (diff) | |
download | gpsd-68b5e580b697de6ec2d8359c41b800fca6bce70a.tar.gz |
More generalized timestamping.
Diffstat (limited to 'gpsprof')
-rwxr-xr-x | gpsprof | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -126,8 +126,8 @@ class uninstrumented: self.fp = fp self.stats = [] def gather(self, session): - if session.gps_time: - seconds = time.time() - session.gps_time + gps.tzoffset() + if session.timings.sentence_time: + seconds = time.time() - session.timings.sentence_time + gps.tzoffset() self.stats.append(seconds) return True else: |