changeset c2d205f278fc in /z/repo/gem5
details: http://repo.gem5.org/gem5?cmd=changeset;node=c2d205f278fc
description:
ruby: remove call to curCycle in panic()
The panic() function already prints the current tick value. This call to
curCycle() is as such redundant. Since we are trying to move towards
multiple
clock domains, this call will print misleading time.
diffstat:
src/mem/slicc/ast/AST.py | 3 +--
1 files changed, 1 insertions(+), 2 deletions(-)
diffs (12 lines):
diff -r b0fa6b872f40 -r c2d205f278fc src/mem/slicc/ast/AST.py
--- a/src/mem/slicc/ast/AST.py Thu Jan 24 12:29:00 2013 -0600
+++ b/src/mem/slicc/ast/AST.py Mon Jan 28 06:11:42 2013 -0600
@@ -54,7 +54,6 @@
message = message % args
code = self.slicc.codeFormatter()
code('''
-panic("Runtime Error at ${{self.location}}, Ruby Time: %d, %s.\\n",
- curCycle(), $message);
+panic("Runtime Error at ${{self.location}}: %s.\\n", $message);
''')
return code
_______________________________________________
gem5-dev mailing list
[email protected]
http://m5sim.org/mailman/listinfo/gem5-dev