cpu: o3: remove unused function annotateMemoryUnits()

This commit is contained in:
Nilay Vaish 2015-03-09 09:39:07 -05:00
parent 4b048901cf
commit f69a74fda6
2 changed files with 0 additions and 21 deletions

View file

@ -157,22 +157,6 @@ FUPool::FUPool(const Params *p)
}
}
void
FUPool::annotateMemoryUnits(Cycles hit_latency)
{
maxOpLatencies[MemReadOp] = hit_latency;
fuListIterator i = funcUnits.begin();
fuListIterator iend = funcUnits.end();
for (; i != iend; ++i) {
if ((*i)->provides(MemReadOp))
(*i)->opLatency(MemReadOp) = hit_latency;
if ((*i)->provides(MemWriteOp))
(*i)->opLatency(MemWriteOp) = hit_latency;
}
}
int
FUPool::getUnit(OpClass capability)
{

View file

@ -133,11 +133,6 @@ class FUPool : public SimObject
FUPool(const Params *p);
~FUPool();
/** Annotates units that provide memory operations. Included only because
* old FU pool provided this function.
*/
void annotateMemoryUnits(Cycles hit_latency);
/**
* Gets a FU providing the requested capability. Will mark the unit as busy,
* but leaves the freeing of the unit up to the IEW stage.