From b3980cdb9a511227d5b2eb2d4ba75fde34cb209b Mon Sep 17 00:00:00 2001 From: Nilay Vaish Date: Fri, 28 Jun 2013 21:36:37 -0500 Subject: ruby: network: remove reconfiguration code This code seems not to be of any use now. There is no path in the simulator that allows for reconfiguring the network. A better approach would be to take a checkpoint and start the simulation from the checkpoint with the new configuration. --- src/mem/ruby/network/Topology.hh | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'src/mem/ruby/network/Topology.hh') diff --git a/src/mem/ruby/network/Topology.hh b/src/mem/ruby/network/Topology.hh index 11b1fe118..cd0e03d09 100644 --- a/src/mem/ruby/network/Topology.hh +++ b/src/mem/ruby/network/Topology.hh @@ -68,15 +68,14 @@ class Topology std::vector int_links); uint32_t numSwitches() const { return m_number_of_switches; } - void createLinks(Network *net, bool isReconfiguration); + void createLinks(Network *net); void print(std::ostream& out) const { out << "[Topology]"; } protected: void addLink(SwitchID src, SwitchID dest, BasicLink* link, LinkDirection dir); void makeLink(Network *net, SwitchID src, SwitchID dest, - const NetDest& routing_table_entry, - bool isReconfiguration); + const NetDest& routing_table_entry); NodeID m_nodes; uint32_t m_number_of_switches; -- cgit v1.2.3