summaryrefslogtreecommitdiff
path: root/src/mem/ruby/network/Topology.hh
diff options
context:
space:
mode:
authorNilay Vaish <nilay@cs.wisc.edu>2013-06-28 21:36:37 -0500
committerNilay Vaish <nilay@cs.wisc.edu>2013-06-28 21:36:37 -0500
commitb3980cdb9a511227d5b2eb2d4ba75fde34cb209b (patch)
tree08cf6c59e320d644213f13b50449a2701d962051 /src/mem/ruby/network/Topology.hh
parent62a93f0bf03385c5ed298b740162b06022f2e2ee (diff)
downloadgem5-b3980cdb9a511227d5b2eb2d4ba75fde34cb209b.tar.xz
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.
Diffstat (limited to 'src/mem/ruby/network/Topology.hh')
-rw-r--r--src/mem/ruby/network/Topology.hh5
1 files changed, 2 insertions, 3 deletions
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<BasicIntLink *> 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;