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:
parent
d82e0d11d1
commit
8056b9a48a
|
@ -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)
|
||||
{
|
||||
|
|
|
@ -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)
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue