diff options
author | Nilay Vaish <nilay@cs.wisc.edu> | 2015-09-12 16:16:03 -0500 |
---|---|---|
committer | Nilay Vaish <nilay@cs.wisc.edu> | 2015-09-12 16:16:03 -0500 |
commit | 25cd13dbf1d6f7d306b40c7e2e3d7231b0c5eb04 (patch) | |
tree | 670ae38b6b7e1e70efb9c6b43c66ddd018c0f751 /src/sim/global_event.cc | |
parent | f611d4f22e913633e884b0d87b4de52def6434f3 (diff) | |
download | gem5-25cd13dbf1d6f7d306b40c7e2e3d7231b0c5eb04.tar.xz |
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.
Diffstat (limited to 'src/sim/global_event.cc')
0 files changed, 0 insertions, 0 deletions