提交 9d5a04f4 authored 作者: Frederic's avatar Frederic

It is the fgraph that is the key.

上级 c870f2b9
...@@ -510,11 +510,11 @@ class ProfileStats(object): ...@@ -510,11 +510,11 @@ class ProfileStats(object):
topos = {} # Only do the topo once per fct. topos = {} # Only do the topo once per fct.
atimes = [] atimes = []
for a, t in self.apply_time.items(): for a, t in self.apply_time.items():
if a not in topos: if a.fgraph not in topos:
topo = a.fgraph.toposort() topo = a.fgraph.toposort()
topos[a] = topo topos[a.fgraph] = topo
else: else:
topo = topos[a] topo = topos[a.fgraph]
atimes.append(( atimes.append((
t * 100 / local_time, t * 100 / local_time,
t, t,
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论