Mercurial > lcfOS
diff python/ppci/codegen/interferencegraph.py @ 314:38f5f298ce0e
Add log for interference graph
author | Windel Bouwman |
---|---|
date | Wed, 18 Dec 2013 20:22:20 +0100 |
parents | 04cf4d26a3bc |
children | b00219172a42 |
line wrap: on
line diff
--- a/python/ppci/codegen/interferencegraph.py Wed Dec 18 18:02:26 2013 +0100 +++ b/python/ppci/codegen/interferencegraph.py Wed Dec 18 20:22:20 2013 +0100 @@ -55,9 +55,9 @@ def to_dot(self, f): """ Generate graphviz dot representation """ for n in self.nodes: - print('{} [label="{}" shape=box3d];'.format(id(n), n), file=f) + print(' {} [label="{}" shape=box3d];'.format(id(n), n), file=f) for n, m in self.edges: - print('{} -> {};'.format(id(n), id(m)), file=f) + print(' {} -> {};'.format(id(n), id(m)), file=f) def to_txt(self): for node in self.nodes: