diff options
Diffstat (limited to 'src/cpu/base.cc')
-rw-r--r-- | src/cpu/base.cc | 6 |
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 |