ruby: perfect switch: refactor code
Review Request #3079 - Created Aug. 30, 2015 and submitted
| Information | |
|---|---|
| Nilay Vaish | |
| gem5 | |
| default | |
| Reviewers | |
| Default | |
Changeset 11069:e83d2f2cbb57
---------------------------
ruby: perfect switch: refactor code
Refactored the code in operateVnet(), moved partly to a new function
operateMessageBuffer(). This is required since a later patch moves to having a
wakeup event per MessageBuffer instead of one event for the entire Switch.
Any comments on this patch? I am planning to push it at the end of the week.
-
src/mem/ruby/network/simple/PerfectSwitch.cc (Diff revision 1) -
Do you foresee this function being used outside of the "operateVnet" function? If not, I don't understand the need for this change.
Once http://reviews.gem5.org/r/2987/ is submitted.
Description: |
|
|---|
Splitting these functions up is generally a good thing. There shouldn't be many conflicts with this patch.
