Author: Alexander Hesse <[email protected]>
Branch: split-rpython
Changeset: r59860:6722baba8a5d
Date: 2013-01-07 02:53 +0100
http://bitbucket.org/pypy/pypy/changeset/6722baba8a5d/
Log: Moved pypy.tool.lsprofcalltree to rpython
diff --git a/pypy/tool/lsprofcalltree.py b/rpython/tool/lsprofcalltree.py
rename from pypy/tool/lsprofcalltree.py
rename to rpython/tool/lsprofcalltree.py
diff --git a/rpython/translator/driver.py b/rpython/translator/driver.py
--- a/rpython/translator/driver.py
+++ b/rpython/translator/driver.py
@@ -258,7 +258,7 @@
def _profile(self, goal, func):
from cProfile import Profile
- from pypy.tool.lsprofcalltree import KCacheGrind
+ from rpython.tool.lsprofcalltree import KCacheGrind
d = {'func':func}
prof = Profile()
prof.runctx("res = func()", globals(), d)
_______________________________________________
pypy-commit mailing list
[email protected]
http://mail.python.org/mailman/listinfo/pypy-commit