summaryrefslogtreecommitdiff
path: root/src/mem/ruby/network/garnet
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/garnet
parente7bd70e0790cb3a2665a7f13c0762b0ec71b519f (diff)
downloadgem5-0280997fbfa3b762a269d9ad97e14aca57316976.tar.xz
ruby: network: removes reset functionality
Diffstat (limited to 'src/mem/ruby/network/garnet')
-rw-r--r--src/mem/ruby/network/garnet/fixed-pipeline/GarnetNetwork_d.cc11
-rw-r--r--src/mem/ruby/network/garnet/fixed-pipeline/GarnetNetwork_d.hh2
-rw-r--r--src/mem/ruby/network/garnet/flexible-pipeline/GarnetNetwork.cc11
-rw-r--r--src/mem/ruby/network/garnet/flexible-pipeline/GarnetNetwork.hh2
4 files changed, 0 insertions, 26 deletions
diff --git a/src/mem/ruby/network/garnet/fixed-pipeline/GarnetNetwork_d.cc b/src/mem/ruby/network/garnet/fixed-pipeline/GarnetNetwork_d.cc
index 0254e1a86..238006881 100644
--- a/src/mem/ruby/network/garnet/fixed-pipeline/GarnetNetwork_d.cc
+++ b/src/mem/ruby/network/garnet/fixed-pipeline/GarnetNetwork_d.cc
@@ -128,17 +128,6 @@ GarnetNetwork_d::~GarnetNetwork_d()
delete m_topology_ptr;
}
-void
-GarnetNetwork_d::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();
- }
- }
-}
-
/*
* This function creates a link from the Network Interface (NI)
* into the Network.
diff --git a/src/mem/ruby/network/garnet/fixed-pipeline/GarnetNetwork_d.hh b/src/mem/ruby/network/garnet/fixed-pipeline/GarnetNetwork_d.hh
index ee3277896..919e6703e 100644
--- a/src/mem/ruby/network/garnet/fixed-pipeline/GarnetNetwork_d.hh
+++ b/src/mem/ruby/network/garnet/fixed-pipeline/GarnetNetwork_d.hh
@@ -74,8 +74,6 @@ class GarnetNetwork_d : public BaseGarnetNetwork
return m_vnet_type[vnet];
}
- void reset();
-
// Methods used by Topology to setup the network
void makeOutLink(SwitchID src, NodeID dest, BasicLink* link,
LinkDirection direction,
diff --git a/src/mem/ruby/network/garnet/flexible-pipeline/GarnetNetwork.cc b/src/mem/ruby/network/garnet/flexible-pipeline/GarnetNetwork.cc
index 6ec0bc1e8..ea08a054b 100644
--- a/src/mem/ruby/network/garnet/flexible-pipeline/GarnetNetwork.cc
+++ b/src/mem/ruby/network/garnet/flexible-pipeline/GarnetNetwork.cc
@@ -98,17 +98,6 @@ GarnetNetwork::~GarnetNetwork()
}
void
-GarnetNetwork::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();
- }
- }
-}
-
-void
GarnetNetwork::makeInLink(NodeID src, SwitchID dest, BasicLink* link,
LinkDirection direction,
const NetDest& routing_table_entry)
diff --git a/src/mem/ruby/network/garnet/flexible-pipeline/GarnetNetwork.hh b/src/mem/ruby/network/garnet/flexible-pipeline/GarnetNetwork.hh
index 1255b6a1b..fb4f99d19 100644
--- a/src/mem/ruby/network/garnet/flexible-pipeline/GarnetNetwork.hh
+++ b/src/mem/ruby/network/garnet/flexible-pipeline/GarnetNetwork.hh
@@ -61,8 +61,6 @@ class GarnetNetwork : public BaseGarnetNetwork
int getNumNodes(){ return m_nodes; }
- void reset();
-
void printLinkStats(std::ostream& out) const;
void printPowerStats(std::ostream& out) const;
void print(std::ostream& out) const;