diff options
author | Kevin Lim <ktlim@umich.edu> | 2006-05-25 11:50:42 -0400 |
---|---|---|
committer | Kevin Lim <ktlim@umich.edu> | 2006-05-25 11:50:42 -0400 |
commit | 32509d83878816cd870cea1ccbb8a9eb46a1e3f6 (patch) | |
tree | 0f929cba3e705d60625830548cbbb3a2c4d9af62 /cpu/checker/cpu.cc | |
parent | 3fe35232322daef87a0b85d7f3ca4c18330ed7c4 (diff) | |
download | gem5-32509d83878816cd870cea1ccbb8a9eb46a1e3f6.tar.xz |
Fix up kernel stats, allow them to not be used as well.
arch/alpha/ev5.cc:
Fix up some stuff I missed in the last kernel stats checkin.
cpu/checker/cpu.cc:
Allow the checker to disable its kernel stats.
cpu/cpu_exec_context.cc:
Allow CPUExecContext to be created without kernelStats.
cpu/cpu_exec_context.hh:
Allow CPUExecContext to be created without kernelStats. Default usage leaves kernelStats on.
--HG--
extra : convert_revision : 8ed5bffd3a5b6275baa07fb4ea385eeab1a0456a
Diffstat (limited to 'cpu/checker/cpu.cc')
-rw-r--r-- | cpu/checker/cpu.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/cpu/checker/cpu.cc b/cpu/checker/cpu.cc index 08ab5d5c8..41ff6e769 100644 --- a/cpu/checker/cpu.cc +++ b/cpu/checker/cpu.cc @@ -103,7 +103,7 @@ CheckerCPU::setMemory(FunctionalMemory *mem) execContexts.push_back(xcProxy); #else if (systemPtr) { - cpuXC = new CPUExecContext(this, 0, systemPtr, itb, dtb, memPtr); + cpuXC = new CPUExecContext(this, 0, systemPtr, itb, dtb, memPtr, false); cpuXC->setStatus(ExecContext::Suspended); xcProxy = cpuXC->getProxy(); @@ -122,7 +122,7 @@ CheckerCPU::setSystem(System *system) systemPtr = system; if (memPtr) { - cpuXC = new CPUExecContext(this, 0, systemPtr, itb, dtb, memPtr); + cpuXC = new CPUExecContext(this, 0, systemPtr, itb, dtb, memPtr, false); cpuXC->setStatus(ExecContext::Suspended); xcProxy = cpuXC->getProxy(); |