Author: Amaury Forgeot d'Arc <[email protected]>
Branch: kill_ll_time
Changeset: r75311:97fbbce870d7
Date: 2015-01-12 22:11 +0100
http://bitbucket.org/pypy/pypy/changeset/97fbbce870d7/
Log: time.time is called as "self.timer()", wrap it in a static method.
diff --git a/rpython/jit/metainterp/jitprof.py
b/rpython/jit/metainterp/jitprof.py
--- a/rpython/jit/metainterp/jitprof.py
+++ b/rpython/jit/metainterp/jitprof.py
@@ -48,7 +48,7 @@
class Profiler(BaseProfiler):
initialized = False
- timer = time.time
+ timer = staticmethod(time.time)
starttime = 0
t1 = 0
times = None
_______________________________________________
pypy-commit mailing list
[email protected]
https://mail.python.org/mailman/listinfo/pypy-commit