summaryrefslogtreecommitdiff
path: root/src/mem/ruby/network/simple
diff options
context:
space:
mode:
authorNilay Vaish <nilay@cs.wisc.edu>2013-09-06 16:21:30 -0500
committerNilay Vaish <nilay@cs.wisc.edu>2013-09-06 16:21:30 -0500
commit0280997fbfa3b762a269d9ad97e14aca57316976 (patch)
tree7a8293516b5c4bb35d64f63eb1892e5d953242a8 /src/mem/ruby/network/simple
parente7bd70e0790cb3a2665a7f13c0762b0ec71b519f (diff)
downloadgem5-0280997fbfa3b762a269d9ad97e14aca57316976.tar.xz
ruby: network: removes reset functionality
Diffstat (limited to 'src/mem/ruby/network/simple')
-rw-r--r--src/mem/ruby/network/simple/SimpleNetwork.cc15
-rw-r--r--src/mem/ruby/network/simple/SimpleNetwork.hh1
2 files changed, 0 insertions, 16 deletions
diff --git a/src/mem/ruby/network/simple/SimpleNetwork.cc b/src/mem/ruby/network/simple/SimpleNetwork.cc
index 19b323948..b71631d26 100644
--- a/src/mem/ruby/network/simple/SimpleNetwork.cc
+++ b/src/mem/ruby/network/simple/SimpleNetwork.cc
@@ -99,21 +99,6 @@ SimpleNetwork::init()
m_topology_ptr->createLinks(this);
}
-void
-SimpleNetwork::reset()
-{
- for (int node = 0; node < m_nodes; node++) {
- for (int j = 0; j < m_virtual_networks; j++) {
- m_toNetQueues[node][j]->clear();
- m_fromNetQueues[node][j]->clear();
- }
- }
-
- for(int i = 0; i < m_switches.size(); i++){
- m_switches[i]->clearBuffers();
- }
-}
-
SimpleNetwork::~SimpleNetwork()
{
for (int i = 0; i < m_nodes; i++) {
diff --git a/src/mem/ruby/network/simple/SimpleNetwork.hh b/src/mem/ruby/network/simple/SimpleNetwork.hh
index ae151429d..e720d8445 100644
--- a/src/mem/ruby/network/simple/SimpleNetwork.hh
+++ b/src/mem/ruby/network/simple/SimpleNetwork.hh
@@ -58,7 +58,6 @@ class SimpleNetwork : public Network
void printStats(std::ostream& out) const;
void clearStats();
- void reset();
// returns the queue requested for the given component
MessageBuffer* getToNetQueue(NodeID id, bool ordered, int network_num, std::string vnet_type);