changeset c2fd66e6a919 in /z/repo/m5 details: http://repo.m5sim.org/m5?cmd=changeset;node=c2fd66e6a919 description: stats: Fix small bug pointed out by unit testing.
diffstat: 1 file changed, 1 deletion(-) src/base/statistics.hh | 1 - diffs (13 lines): diff -r 5e1863e9afa2 -r c2fd66e6a919 src/base/statistics.hh --- a/src/base/statistics.hh Thu Oct 02 12:46:57 2008 -0400 +++ b/src/base/statistics.hh Thu Oct 02 11:26:59 2008 -0700 @@ -1009,8 +1009,7 @@ std::string str() const { - return csprintf("%s[%d]", stat->str(), index); - + return csprintf("%s[%d]", stat->statData()->name, index); } }; _______________________________________________ m5-dev mailing list m5-dev@m5sim.org http://m5sim.org/mailman/listinfo/m5-dev