summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorBrad Beckmann <Brad.Beckmann@amd.com>2011-04-28 17:18:14 -0700
committerBrad Beckmann <Brad.Beckmann@amd.com>2011-04-28 17:18:14 -0700
commit887e2df5a36d4bc1881fcb7095c14ee8eb5a69b7 (patch)
treef8c5884ca9e7393a42e358c22bce8d1aa59087d5 /src
parent491cc1a9f40571180b49b5318d735109380dad17 (diff)
downloadgem5-887e2df5a36d4bc1881fcb7095c14ee8eb5a69b7.tar.xz
network: removed the unused network-wide latency param
Diffstat (limited to 'src')
-rw-r--r--src/mem/ruby/network/Network.cc1
-rw-r--r--src/mem/ruby/network/Network.hh2
-rw-r--r--src/mem/ruby/network/Network.py2
3 files changed, 0 insertions, 5 deletions
diff --git a/src/mem/ruby/network/Network.cc b/src/mem/ruby/network/Network.cc
index b7f025eeb..caab89715 100644
--- a/src/mem/ruby/network/Network.cc
+++ b/src/mem/ruby/network/Network.cc
@@ -36,7 +36,6 @@ Network::Network(const Params *p)
{
m_virtual_networks = p->number_of_virtual_networks;
m_topology_ptr = p->topology;
- m_link_latency = p->link_latency;
m_control_msg_size = p->control_msg_size;
// Total nodes/controllers in network
diff --git a/src/mem/ruby/network/Network.hh b/src/mem/ruby/network/Network.hh
index 2208c0e72..cce81f266 100644
--- a/src/mem/ruby/network/Network.hh
+++ b/src/mem/ruby/network/Network.hh
@@ -67,7 +67,6 @@ class Network : public SimObject
virtual void init();
int getNumberOfVirtualNetworks() { return m_virtual_networks; }
- int getLinkLatency() { return m_link_latency; }
int MessageSizeType_to_int(MessageSizeType size_type);
// returns the queue requested for the given component
@@ -108,7 +107,6 @@ class Network : public SimObject
int m_nodes;
int m_virtual_networks;
Topology* m_topology_ptr;
- int m_link_latency;
int m_control_msg_size;
int m_data_msg_size;
};
diff --git a/src/mem/ruby/network/Network.py b/src/mem/ruby/network/Network.py
index 55c049081..909f2f727 100644
--- a/src/mem/ruby/network/Network.py
+++ b/src/mem/ruby/network/Network.py
@@ -47,6 +47,4 @@ class RubyNetwork(SimObject):
abstract = True
number_of_virtual_networks = Param.Int(10, "");
topology = Param.Topology("");
- link_latency = Param.Int(1,
- "local memory latency ?? NetworkLinkLatency");
control_msg_size = Param.Int(8, "");