From 1cbc12e77e089011ab0602c34f65e4d84e2620d4 Mon Sep 17 00:00:00 2001 From: "Eric S. Raymond" Date: Wed, 16 Feb 2005 11:05:04 +0000 Subject: Profiling still isn't quite right. --- gpsprof | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'gpsprof') 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 = ''' -- cgit v1.2.1