summaryrefslogtreecommitdiff
path: root/src/cpu/base.cc
diff options
context:
space:
mode:
authorSteve Reinhardt <stever@eecs.umich.edu>2007-07-29 13:25:14 -0700
committerSteve Reinhardt <stever@eecs.umich.edu>2007-07-29 13:25:14 -0700
commit08474ccf68e14f59b4517c6024a9bc6ecbd4a1d5 (patch)
tree5c1dc885b4fd33fc48d91a9ce489e24c88c9f3c2 /src/cpu/base.cc
parent4a7d0c4b79450e05b87da4cfc48c2361758127c1 (diff)
parent362ff1bcebd78c0c247e435eac657c8a1134b1fb (diff)
downloadgem5-08474ccf68e14f59b4517c6024a9bc6ecbd4a1d5.tar.xz
Merge Gabe's changes from head.
--HG-- extra : convert_revision : d00b7b09c7f19bc0e37b385ef7c124f69c0e917f
Diffstat (limited to 'src/cpu/base.cc')
-rw-r--r--src/cpu/base.cc6
1 files changed, 2 insertions, 4 deletions
diff --git a/src/cpu/base.cc b/src/cpu/base.cc
index 3b8d85c9c..ee409048b 100644
--- a/src/cpu/base.cc
+++ b/src/cpu/base.cc
@@ -106,14 +106,10 @@ BaseCPU::BaseCPU(Params *p)
#endif
{
// currentTick = curTick;
- DPRINTF(FullCPU, "BaseCPU: Creating object, mem address %#x.\n", this);
// add self to global list of CPUs
cpuList.push_back(this);
- DPRINTF(FullCPU, "BaseCPU: CPU added to cpuList, mem address %#x.\n",
- this);
-
if (number_of_threads > maxThreadsPerCPU)
maxThreadsPerCPU = number_of_threads;
@@ -188,6 +184,7 @@ BaseCPU::BaseCPU(Params *p)
if (params->profile)
profileEvent = new ProfileEvent(this, params->profile);
#endif
+ tracer = params->tracer;
}
BaseCPU::Params::Params()
@@ -196,6 +193,7 @@ BaseCPU::Params::Params()
profile = false;
#endif
checker = NULL;
+ tracer = NULL;
}
void