o3 cpu: Remove unused variables
This commit is contained in:
@@ -467,9 +467,6 @@ FullO3CPU<Impl>::FullO3CPU(DerivO3CPUParams *params)
|
||||
|
||||
for (ThreadID tid = 0; tid < this->numThreads; tid++)
|
||||
this->thread[tid]->setFuncExeInst(0);
|
||||
|
||||
lockAddr = 0;
|
||||
lockFlag = false;
|
||||
}
|
||||
|
||||
template <class Impl>
|
||||
|
||||
@@ -124,9 +124,6 @@ class FullO3CPU : public BaseO3CPU
|
||||
/** Overall CPU status. */
|
||||
Status _status;
|
||||
|
||||
/** Per-thread status in CPU, used for SMT. */
|
||||
Status _threadStatus[Impl::MaxThreads];
|
||||
|
||||
private:
|
||||
|
||||
/**
|
||||
@@ -781,11 +778,6 @@ class FullO3CPU : public BaseO3CPU
|
||||
/** Get the dcache port (used to find block size for translations). */
|
||||
virtual CpuPort &getDataPort() { return dcachePort; }
|
||||
|
||||
Addr lockAddr;
|
||||
|
||||
/** Temporary fix for the lock flag, works in the UP case. */
|
||||
bool lockFlag;
|
||||
|
||||
/** Stat for total number of times the CPU is descheduled. */
|
||||
Stats::Scalar timesIdled;
|
||||
/** Stat for total number of cycles the CPU spends descheduled. */
|
||||
|
||||
@@ -89,7 +89,6 @@ O3ThreadContext<Impl>::takeOverFrom(ThreadContext *old_context)
|
||||
|
||||
// Transfer kernel stats from one CPU to the other.
|
||||
thread->kernelStats = old_context->getKernelStats();
|
||||
cpu->lockFlag = false;
|
||||
} else {
|
||||
thread->funcExeInst = old_context->readFuncExeInst();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user