diff options
author | Korey Sewell <ksewell@umich.edu> | 2006-06-12 16:19:18 -0400 |
---|---|---|
committer | Korey Sewell <ksewell@umich.edu> | 2006-06-12 16:19:18 -0400 |
commit | b0fc2c02af47c04650b981a28e2551bb7d07b426 (patch) | |
tree | ecd587c0228010f29bb1d5c376b2c19a77e4567f /src/base/stats/statdb.cc | |
parent | 13d46e2075444fb4d9b36c766a7641a637f83dcf (diff) | |
parent | babb22eea4be07cbc725eea129c6a6557fd56af2 (diff) | |
download | gem5-b0fc2c02af47c04650b981a28e2551bb7d07b426.tar.xz |
Merge zizzer:/bk/newmem
into zizzer.eecs.umich.edu:/.automount/zooks/y/ksewell/research/m5-sim/newmem-release
--HG--
extra : convert_revision : 18a381fa230f2ef6d027359ffd619e3ae75cd446
Diffstat (limited to 'src/base/stats/statdb.cc')
-rw-r--r-- | src/base/stats/statdb.cc | 12 |
1 files changed, 0 insertions, 12 deletions
diff --git a/src/base/stats/statdb.cc b/src/base/stats/statdb.cc index 682f62dc1..f9136807a 100644 --- a/src/base/stats/statdb.cc +++ b/src/base/stats/statdb.cc @@ -31,7 +31,6 @@ #include "base/misc.hh" #include "base/trace.hh" #include "base/statistics.hh" -#include "base/stats/bin.hh" #include "base/stats/statdb.hh" using namespace std; @@ -51,17 +50,6 @@ find(void *stat) } void -regBin(MainBin *bin, const std::string &_name) -{ - bin_list_t::iterator i, end = bins().end(); - for (i = bins().begin(); i != end; ++i) - if ((*i)->name() == _name) - panic("re-registering bin %s", _name); - bins().push_back(bin); - DPRINTF(Stats, "registering %s\n", _name); -} - -void regStat(void *stat, StatData *data) { if (map().find(stat) != map().end()) |