Review Board 2.0.15


ruby: simple network: store Switch* in PerfectSwitch and Throttle

Review Request #3006 - Created Aug. 9, 2015 and submitted - Latest diff uploaded

Information
Nilay Vaish
gem5
default
Reviewers
Default
Changeset 11088:e4b173785c24
---------------------------
ruby: simple network: store Switch* in PerfectSwitch and Throttle
There are two reasons for doing so:

a. provide a source of clock to PerfectSwitch. A follow on patch removes sender
and receiver pointers from MessageBuffer means that the object owning the
buffer should have some way of providing timing info.

b. schedule events.  A follow on patch removes the consumer class.  So the
PerfectSwitch needs some EventManager object to schedule events on its own.