summaryrefslogtreecommitdiff
path: root/gpsprof
diff options
context:
space:
mode:
authorEric S. Raymond <esr@thyrsus.com>2005-02-16 11:05:04 +0000
committerEric S. Raymond <esr@thyrsus.com>2005-02-16 11:05:04 +0000
commit1cbc12e77e089011ab0602c34f65e4d84e2620d4 (patch)
tree5b61c051aa508fba931657e883e31adbc5dc2228 /gpsprof
parent8d326874b671611a7b5e36f6e7b0cacd194498d2 (diff)
downloadgpsd-1cbc12e77e089011ab0602c34f65e4d84e2620d4.tar.gz
Profiling still isn't quite right.
Diffstat (limited to 'gpsprof')
-rwxr-xr-xgpsprof2
1 files changed, 1 insertions, 1 deletions
diff --git a/gpsprof b/gpsprof
index d6afafde..d0405f39 100755
--- a/gpsprof
+++ b/gpsprof
@@ -42,7 +42,7 @@ class uninstrumented:
fp.write("#Read\n")
fp.write("----------\n")
def formatter(self, session, fp):
- fp.write("%2.6f\n" % ((time.time(0) - session.d_recv_time) % 3600,))
+ fp.write("%2.6f\n" % ((time.time()-session.gps_time) % session.cycle,))
return True
def plot(self, file, title, session):
fmt = '''