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:
parent
4ce6118fda
commit
7e6dcd812c
3 changed files with 3 additions and 3 deletions
|
@ -1022,7 +1022,7 @@ dump(ostream &stream)
|
|||
CallbackQueue resetQueue;
|
||||
|
||||
void
|
||||
RegResetCallback(Callback *cb)
|
||||
registerResetCallback(Callback *cb)
|
||||
{
|
||||
resetQueue.add(cb);
|
||||
}
|
||||
|
|
|
@ -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)
|
||||
|
|
|
@ -123,7 +123,7 @@ SimObject::regAllStats()
|
|||
(*i)->regFormulas();
|
||||
}
|
||||
|
||||
Statistics::RegResetCallback(&StatResetCB);
|
||||
Statistics::registerResetCallback(&StatResetCB);
|
||||
}
|
||||
|
||||
//
|
||||
|
|
Loading…
Reference in a new issue