summaryrefslogtreecommitdiff
path: root/sim/system.cc
diff options
context:
space:
mode:
authorNathan Binkert <binkertn@umich.edu>2003-11-22 15:07:53 -0500
committerNathan Binkert <binkertn@umich.edu>2003-11-22 15:07:53 -0500
commitd1e12b57ce06990a0daf9c295c688795bf62f7cf (patch)
treecbc42c6e5efbef4688c7a87577d7c6e166afebf1 /sim/system.cc
parent92348c503ce04a34f2ed5f871f55fae995a71111 (diff)
downloadgem5-d1e12b57ce06990a0daf9c295c688795bf62f7cf.tar.xz
We only need to choose that we do want binning, or we don't.
no need for multiple bin classes. If multiple bins are needed, we can always do it with ini type config instead. kern/tru64/tru64_events.hh: sim/system.cc: sim/system.hh: No more GenBin always use MainBin --HG-- extra : convert_revision : 8c466f302324c33b59d47d0da04583b2517fc72c
Diffstat (limited to 'sim/system.cc')
-rw-r--r--sim/system.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/sim/system.cc b/sim/system.cc
index 58e290d1a..db93250ee 100644
--- a/sim/system.cc
+++ b/sim/system.cc
@@ -105,10 +105,10 @@ printSystems()
}
#ifdef FS_MEASURE
-Statistics::GenBin *
+Statistics::MainBin *
System::getBin(const std::string &name)
{
- std::map<const std::string, Statistics::GenBin *>::const_iterator i;
+ std::map<const std::string, Statistics::MainBin *>::const_iterator i;
i = fnBins.find(name);
if (i == fnBins.end())
panic("trying to getBin that is not on system map!");