Forgot about the tracing cpus for the changes to the base class

cpu/trace/opt_cpu.cc:
cpu/trace/trace_cpu.cc:
    we don't want to register this cpu since it's not a real cpu

--HG--
extra : convert_revision : 3b87b6ac3dd061018909bf4fdb4e2d611128d07b
This commit is contained in:
Nathan Binkert 2004-11-03 22:30:13 -05:00
parent d82e0d11d1
commit 8056b9a48a
2 changed files with 2 additions and 2 deletions

View file

@ -48,7 +48,7 @@ OptCPU::OptCPU(const string &name,
int block_size,
int cache_size,
int _assoc)
: BaseCPU(name,1), tickEvent(this), trace(_trace),
: BaseCPU(name, 1, true), tickEvent(this), trace(_trace),
numBlks(cache_size/block_size), assoc(_assoc), numSets(numBlks/assoc),
setMask(numSets - 1)
{

View file

@ -47,7 +47,7 @@ TraceCPU::TraceCPU(const string &name,
MemInterface *icache_interface,
MemInterface *dcache_interface,
MemTraceReader *data_trace)
: BaseCPU(name, 4), icacheInterface(icache_interface),
: BaseCPU(name, 4, true), icacheInterface(icache_interface),
dcacheInterface(dcache_interface),
dataTrace(data_trace), outstandingRequests(0), tickEvent(this)
{