From: Nilay Vaish Date: Mon, 28 Jan 2013 12:11:42 +0000 (-0600) Subject: ruby: remove call to curCycle in panic() X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=31659e83fbf6fa2b9024908cdba428145ef1fade;p=gem5.git 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. --- diff --git a/src/mem/slicc/ast/AST.py b/src/mem/slicc/ast/AST.py index 6eaa452cc..0db4a52c3 100644 --- a/src/mem/slicc/ast/AST.py +++ b/src/mem/slicc/ast/AST.py @@ -54,7 +54,6 @@ class AST(PairContainer): 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