提交 fe574c1e authored 作者: Frederic's avatar Frederic

Don't make scan duplicate global printing

上级 4f3aef6e
......@@ -1627,6 +1627,11 @@ class ScanProfileStats(ProfileStats):
super(ScanProfileStats, self).__init__(atexit_print, **kwargs)
self.name = name
def summary_globals(self, file):
# Do nothing, we don't want to print extra global summary
# here.
pass
def summary_function(self, file):
# RP: everytime we compile a function a ProfileStats is created for
# that function. This means that everytime a optimization replaces
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论