summaryrefslogtreecommitdiff
path: root/gpsprof
diff options
context:
space:
mode:
authorEric S. Raymond <esr@thyrsus.com>2005-03-27 00:13:56 +0000
committerEric S. Raymond <esr@thyrsus.com>2005-03-27 00:13:56 +0000
commit68b5e580b697de6ec2d8359c41b800fca6bce70a (patch)
tree9093900d85a482f38c7a518c1e43a0a0646cc097 /gpsprof
parentd32aa94c6b4ee5fd4a92d7a150a02bde1b0f6f45 (diff)
downloadgpsd-68b5e580b697de6ec2d8359c41b800fca6bce70a.tar.gz
More generalized timestamping.
Diffstat (limited to 'gpsprof')
-rwxr-xr-xgpsprof4
1 files changed, 2 insertions, 2 deletions
diff --git a/gpsprof b/gpsprof
index a828d05c..681293c9 100755
--- a/gpsprof
+++ b/gpsprof
@@ -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: