34d33
< #include "mem/ruby/network/simple/Switch.hh"
52,54c51,52
< Switch *em)
< : Consumer(em), m_switch_id(sID), m_switch(em), m_node(node),
< m_ruby_system(rs)
---
> ClockedObject *em)
> : Consumer(em), m_ruby_system(rs)
55a54,71
> init(node, link_latency, link_bandwidth_multiplier, endpoint_bandwidth);
> m_sID = sID;
> }
>
> Throttle::Throttle(RubySystem *rs, NodeID node, Cycles link_latency,
> int link_bandwidth_multiplier, int endpoint_bandwidth,
> ClockedObject *em)
> : Consumer(em), m_ruby_system(rs)
> {
> init(node, link_latency, link_bandwidth_multiplier, endpoint_bandwidth);
> m_sID = 0;
> }
>
> void
> Throttle::init(NodeID node, Cycles link_latency,
> int link_bandwidth_multiplier, int endpoint_bandwidth)
> {
> m_node = node;
85c101
< string desc = "[Queue to Throttle " + to_string(m_switch_id) + " " +
---
> string desc = "[Queue to Throttle " + to_string(m_sID) + " " +