summaryrefslogtreecommitdiff
path: root/sim
diff options
context:
space:
mode:
Diffstat (limited to 'sim')
-rw-r--r--sim/system.cc14
-rw-r--r--sim/system.hh7
2 files changed, 0 insertions, 21 deletions
diff --git a/sim/system.cc b/sim/system.cc
index 8820922c1..7f5b54c6b 100644
--- a/sim/system.cc
+++ b/sim/system.cc
@@ -65,16 +65,12 @@ System::System(Params *p)
// increment the number of running systms
numSystemsRunning++;
-
- kernelBinning = new Kernel::Binning(this);
}
System::~System()
{
delete kernelSymtab;
delete kernel;
-
- delete kernelBinning;
}
@@ -141,16 +137,8 @@ System::replaceExecContext(ExecContext *xc, int id)
}
void
-System::regStats()
-{
- kernelBinning->regStats(name() + ".kern");
-}
-
-void
System::serialize(ostream &os)
{
- kernelBinning->serialize(os);
-
kernelSymtab->serialize("kernel_symtab", os);
}
@@ -158,8 +146,6 @@ System::serialize(ostream &os)
void
System::unserialize(Checkpoint *cp, const string &section)
{
- kernelBinning->unserialize(cp, section);
-
kernelSymtab->unserialize("kernel_symtab", cp, section);
}
diff --git a/sim/system.hh b/sim/system.hh
index ea482a102..2156747fb 100644
--- a/sim/system.hh
+++ b/sim/system.hh
@@ -46,7 +46,6 @@ class ObjectFile;
class PhysicalMemory;
class Platform;
class RemoteGDB;
-namespace Kernel { class Binning; }
class System : public SimObject
{
@@ -83,8 +82,6 @@ class System : public SimObject
/** Entry point in the kernel to start at */
Addr kernelEntry;
- Kernel::Binning *kernelBinning;
-
protected:
/**
@@ -131,9 +128,6 @@ class System : public SimObject
MemoryController *memctrl;
PhysicalMemory *physmem;
uint64_t init_param;
- bool bin;
- std::vector<std::string> binned_fns;
- bool bin_int;
std::string kernel_path;
std::string readfile;
@@ -172,7 +166,6 @@ class System : public SimObject
int registerExecContext(ExecContext *xc, int xcIndex);
void replaceExecContext(ExecContext *xc, int xcIndex);
- void regStats();
void serialize(std::ostream &os);
void unserialize(Checkpoint *cp, const std::string &section);