summaryrefslogtreecommitdiff
path: root/src/base/stats/statdb.hh
diff options
context:
space:
mode:
authorNathan Binkert <binkertn@umich.edu>2006-06-11 23:02:50 -0400
committerNathan Binkert <binkertn@umich.edu>2006-06-11 23:02:50 -0400
commitdf4b4f001e4db902297acf3b75480e4886e4e882 (patch)
tree5f1053fe9a36fb7b11750db8e4fab1d089ea94d0 /src/base/stats/statdb.hh
parente0140202bd5f0d16d25e526283047e5a2ef5dc0c (diff)
parent3c95f5958fd1a90cf83d85e1b24fb700c07bae91 (diff)
downloadgem5-df4b4f001e4db902297acf3b75480e4886e4e882.tar.xz
Merge zizzer.eecs.umich.edu:/bk/newmem
into iceaxe.:/Volumes/work/research/m5/newmem --HG-- extra : convert_revision : e457e807b29d8ff88ac335cd50acd596e7e31eee
Diffstat (limited to 'src/base/stats/statdb.hh')
-rw-r--r--src/base/stats/statdb.hh6
1 files changed, 0 insertions, 6 deletions
diff --git a/src/base/stats/statdb.hh b/src/base/stats/statdb.hh
index 8c56e031e..a5b9be7eb 100644
--- a/src/base/stats/statdb.hh
+++ b/src/base/stats/statdb.hh
@@ -40,31 +40,25 @@ class Python;
namespace Stats {
-class MainBin;
class StatData;
namespace Database {
typedef std::map<void *, StatData *> stat_map_t;
typedef std::list<StatData *> stat_list_t;
-typedef std::list<MainBin *> bin_list_t;
// We wrap the database in a struct to make sure it is built in time.
struct TheDatabase
{
stat_map_t map;
stat_list_t stats;
- bin_list_t bins;
-
};
TheDatabase &db();
inline stat_map_t &map() { return db().map; }
inline stat_list_t &stats() { return db().stats; }
-inline bin_list_t &bins() { return db().bins; }
StatData *find(void *stat);
-void regBin(MainBin *bin, const std::string &name);
void regStat(void *stat, StatData *data);
void regPrint(void *stat);