projects
/
gem5.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
83d09ee
)
base: Fix error message time unit (cycle -> tick)
author
Andreas Hansson
<andreas.hansson@arm.com>
Sun, 23 Mar 2014 15:11:32 +0000
(11:11 -0400)
committer
Andreas Hansson
<andreas.hansson@arm.com>
Sun, 23 Mar 2014 15:11:32 +0000
(11:11 -0400)
This patch fixes the unit used in all error messages.
src/base/misc.cc
patch
|
blob
|
history
diff --git
a/src/base/misc.cc
b/src/base/misc.cc
index 97c56c8a0aac7b92139e23b33fde1124f179d2e7..1a8b8ff1ece01513af7e85e7d28b4c4b12c15e7e 100644
(file)
--- a/
src/base/misc.cc
+++ b/
src/base/misc.cc
@@
-69,7
+69,7
@@
__exit_message(const char *prefix, int code,
format += "\n";
}
- format += " @
cycle
%d\n[%s:%s, line %d]\n";
+ format += " @
tick
%d\n[%s:%s, line %d]\n";
format += "Memory Usage: %ld KBytes\n";
args.push_back(curTick());