Fix EVENTQ_DEBUG vs DEBUG_EVENTQ #define inconsistency.

This commit is contained in:
Steve Reinhardt 2008-09-29 23:30:14 -07:00
parent 1e9c428522
commit 45cba35fc1

View file

@ -109,7 +109,7 @@ class Event : public Serializable, public FastAlloc
Counter instance; Counter instance;
#endif #endif
#ifdef DEBUG_EVENTQ #ifdef EVENTQ_DEBUG
Tick whenCreated; //!< time created Tick whenCreated; //!< time created
Tick whenScheduled; //!< time scheduled Tick whenScheduled; //!< time scheduled
#endif #endif
@ -119,7 +119,7 @@ class Event : public Serializable, public FastAlloc
setWhen(Tick when) setWhen(Tick when)
{ {
_when = when; _when = when;
#ifdef DEBUG_EVENTQ #ifdef EVENTQ_DEBUG
whenScheduled = curTick; whenScheduled = curTick;
#endif #endif
} }