summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKevin Lim <ktlim@umich.edu>2006-05-19 15:45:06 -0400
committerKevin Lim <ktlim@umich.edu>2006-05-19 15:45:06 -0400
commitfda6ddbffdfb2dfecf233750c080191141450276 (patch)
tree300f69573c0262522f583a8081f2c9b80f459f93
parent5df3e61f168a5dd7d86ba2f81538539622d77bd2 (diff)
downloadgem5-fda6ddbffdfb2dfecf233750c080191141450276.tar.xz
Rename function to be more expressive.
--HG-- extra : convert_revision : 0c01b6d5309e2d09f03631740c9b0c8619ea26c4
-rw-r--r--cpu/o3/fu_pool.cc2
-rw-r--r--cpu/o3/fu_pool.hh2
2 files changed, 2 insertions, 2 deletions
diff --git a/cpu/o3/fu_pool.cc b/cpu/o3/fu_pool.cc
index cb7a15061..fb2b5c00d 100644
--- a/cpu/o3/fu_pool.cc
+++ b/cpu/o3/fu_pool.cc
@@ -189,7 +189,7 @@ FUPool::getUnit(OpClass capability)
}
void
-FUPool::freeUnit(int fu_idx)
+FUPool::freeUnitNextCycle(int fu_idx)
{
assert(unitBusy[fu_idx]);
unitsToBeFreed.push_back(fu_idx);
diff --git a/cpu/o3/fu_pool.hh b/cpu/o3/fu_pool.hh
index 7df5ad5f3..da6fdc802 100644
--- a/cpu/o3/fu_pool.hh
+++ b/cpu/o3/fu_pool.hh
@@ -134,7 +134,7 @@ class FUPool : public SimObject
int getUnit(OpClass capability);
/** Frees a FU at the end of this cycle. */
- void freeUnit(int fu_idx);
+ void freeUnitNextCycle(int fu_idx);
/** Frees all FUs on the list. */
void processFreeUnits();