event: minor cleanup
Review Request #845 - Created Sept. 6, 2011 and submitted
| Information | |
|---|---|
| Steve Reinhardt | |
| gem5 | |
| Reviewers | |
| Default | |
| ali, gblack, nate, stever | |
event: minor cleanup Initialize flags via the Event constructor instead of calling setFlags() in the body of the derived class's constructor. I forget exactly why, but this made life easier when implementing multi-queue support. Also rename Event::getFlags() to isFlagSet() to better match common usage, and get rid of some unused Event methods.
Posted (Sept. 22, 2011, 3:42 a.m.)
bump... even though this is change only needed for the multi-event-queue patch, it'd be nice to get it committed so I don't need to maintain it separately
seems fine to me; just seems semantic.
-
src/sim/eventq.hh (Diff revision 1) -
Seems that we should be embedding _curTick in the event queue itself, providing a function something like this and making the global curTick() call mainEventQueue.foo()
