projects
/
gem5.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0a1613a
)
stats: Fix small bug pointed out by unit testing.
author
Nathan Binkert
<nate@binkert.org>
Thu, 2 Oct 2008 18:26:59 +0000
(11:26 -0700)
committer
Nathan Binkert
<nate@binkert.org>
Thu, 2 Oct 2008 18:26:59 +0000
(11:26 -0700)
src/base/statistics.hh
patch
|
blob
|
history
diff --git
a/src/base/statistics.hh
b/src/base/statistics.hh
index 17aef14b9fe1845046a82703424bece058915e7f..25017031fadfea3b1e07fb8a60d9ededb86f45c0 100644
(file)
--- a/
src/base/statistics.hh
+++ b/
src/base/statistics.hh
@@
-1009,8
+1009,7
@@
class ScalarProxy
std::string
str() const
{
- return csprintf("%s[%d]", stat->str(), index);
-
+ return csprintf("%s[%d]", stat->statData()->name, index);
}
};