Rename function to be more expressive.
authorKevin Lim <ktlim@umich.edu>
Fri, 19 May 2006 19:45:06 +0000 (15:45 -0400)
committerKevin Lim <ktlim@umich.edu>
Fri, 19 May 2006 19:45:06 +0000 (15:45 -0400)
--HG--
extra : convert_revision : 0c01b6d5309e2d09f03631740c9b0c8619ea26c4

cpu/o3/fu_pool.cc
cpu/o3/fu_pool.hh

index cb7a1506184ad47d8abdd28aba43b257bccce0a8..fb2b5c00d399fe3914ca53364ccd812455b6f879 100644 (file)
@@ -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);
index 7df5ad5f324ee8cec2b4e7fd148619fb5936e108..da6fdc80216428ff079501409d4012d1a8a49089 100644 (file)
@@ -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();