Rename RegResetCallback to registerResetCallback().

Add reset callback for bus (to fix idle cycles computation).

base/statistics.cc:
base/statistics.hh:
sim/sim_object.cc:
    Rename RegResetCallback to registerResetCallback().

--HG--
extra : convert_revision : c886c98143d4851f709ef95de3120b4494f8e4d2
This commit is contained in:
Steve Reinhardt 2003-12-10 17:49:41 -08:00
parent 4ce6118fda
commit 7e6dcd812c
3 changed files with 3 additions and 3 deletions

View file

@ -1022,7 +1022,7 @@ dump(ostream &stream)
CallbackQueue resetQueue;
void
RegResetCallback(Callback *cb)
registerResetCallback(Callback *cb)
{
resetQueue.add(cb);
}

View file

@ -2946,7 +2946,7 @@ class Temp
void check();
void dump(std::ostream &stream);
void reset();
void RegResetCallback(Callback *cb);
void registerResetCallback(Callback *cb);
inline Temp
operator+(Temp l, Temp r)

View file

@ -123,7 +123,7 @@ SimObject::regAllStats()
(*i)->regFormulas();
}
Statistics::RegResetCallback(&StatResetCB);
Statistics::registerResetCallback(&StatResetCB);
}
//