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

Better alignement of profiling timming.

上级 21b6b3b1
...@@ -342,10 +342,10 @@ class ProfileStats(object): ...@@ -342,10 +342,10 @@ class ProfileStats(object):
es += [' %2s '] es += [' %2s ']
hs += ['<#call>'] hs += ['<#call>']
es += [' %5d '] es += ['%6d ']
hs += ['<#apply>'] hs += ['<#apply>']
es += [' %4d '] es += [' %4d ']
upto_length = numpy.sum([len(x) for x in hs]) + len(hs) upto_length = numpy.sum([len(x) for x in hs]) + len(hs)
maxlen = self.line_width - upto_length maxlen = self.line_width - upto_length
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论