diff options
author | Nilay Vaish <nilay@cs.wisc.edu> | 2013-09-06 16:21:30 -0500 |
---|---|---|
committer | Nilay Vaish <nilay@cs.wisc.edu> | 2013-09-06 16:21:30 -0500 |
commit | 0280997fbfa3b762a269d9ad97e14aca57316976 (patch) | |
tree | 7a8293516b5c4bb35d64f63eb1892e5d953242a8 /src/mem/ruby/network/garnet/fixed-pipeline | |
parent | e7bd70e0790cb3a2665a7f13c0762b0ec71b519f (diff) | |
download | gem5-0280997fbfa3b762a269d9ad97e14aca57316976.tar.xz |
ruby: network: removes reset functionality
Diffstat (limited to 'src/mem/ruby/network/garnet/fixed-pipeline')
-rw-r--r-- | src/mem/ruby/network/garnet/fixed-pipeline/GarnetNetwork_d.cc | 11 | ||||
-rw-r--r-- | src/mem/ruby/network/garnet/fixed-pipeline/GarnetNetwork_d.hh | 2 |
2 files changed, 0 insertions, 13 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, |