From 887e2df5a36d4bc1881fcb7095c14ee8eb5a69b7 Mon Sep 17 00:00:00 2001 From: Brad Beckmann Date: Thu, 28 Apr 2011 17:18:14 -0700 Subject: [PATCH] network: removed the unused network-wide latency param --- src/mem/ruby/network/Network.cc | 1 - src/mem/ruby/network/Network.hh | 2 -- src/mem/ruby/network/Network.py | 2 -- 3 files changed, 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, ""); -- 2.30.2