summaryrefslogtreecommitdiff
path: root/src/mem/ruby/network/simple/SimpleNetwork.hh
diff options
context:
space:
mode:
authorNilay Vaish <nilay@cs.wisc.edu>2014-09-01 16:55:42 -0500
committerNilay Vaish <nilay@cs.wisc.edu>2014-09-01 16:55:42 -0500
commit00dbadcbb09c51b8d05a22c21193b55d7e9a0cf1 (patch)
treefc8e8e99d2f1e48176e0f00c7cf3c567aa5ddbec /src/mem/ruby/network/simple/SimpleNetwork.hh
parentcc2cc588693bb73b1892aea82fd0ac9729196f25 (diff)
downloadgem5-00dbadcbb09c51b8d05a22c21193b55d7e9a0cf1.tar.xz
ruby: network: move getNumNodes() to base class
All the implementations were doing the same things.
Diffstat (limited to 'src/mem/ruby/network/simple/SimpleNetwork.hh')
-rw-r--r--src/mem/ruby/network/simple/SimpleNetwork.hh2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/mem/ruby/network/simple/SimpleNetwork.hh b/src/mem/ruby/network/simple/SimpleNetwork.hh
index 335ba15a0..90560c267 100644
--- a/src/mem/ruby/network/simple/SimpleNetwork.hh
+++ b/src/mem/ruby/network/simple/SimpleNetwork.hh
@@ -63,8 +63,6 @@ class SimpleNetwork : public Network
bool isVNetOrdered(int vnet) { return m_ordered[vnet]; }
bool validVirtualNetwork(int vnet) { return m_in_use[vnet]; }
- int getNumNodes() {return m_nodes; }
-
// Methods used by Topology to setup the network
void makeOutLink(SwitchID src, NodeID dest, BasicLink* link,
LinkDirection direction,