Give the progress event its own priority

--HG--
extra : convert_revision : 6357ade64deb42fae68b2766545b1c4cdc673fc9
This commit is contained in:
Nathan Binkert 2007-02-17 22:07:50 -08:00
parent 08f024d3ff
commit 8c1c68a31e
2 changed files with 4 additions and 1 deletions

View file

@ -63,7 +63,7 @@ int maxThreadsPerCPU = 1;
CPUProgressEvent::CPUProgressEvent(EventQueue *q, Tick ival,
BaseCPU *_cpu)
: Event(q, Event::Stat_Event_Pri), interval(ival),
: Event(q, Event::Progress_Event_Pri), interval(ival),
lastNumInst(0), cpu(_cpu)
{
if (interval)

View file

@ -169,6 +169,9 @@ class Event : public Serializable, public FastAlloc
/// everything else, but before exit.
Stat_Event_Pri = 90,
/// Progress events come at the end.
Progress_Event_Pri = 95,
/// If we want to exit on this cycle, it's the very last thing
/// we do.
Sim_Exit_Pri = 100