network: removed the unused network-wide latency param

This commit is contained in:
Brad Beckmann
2011-04-28 17:18:14 -07:00
parent 491cc1a9f4
commit 887e2df5a3
3 changed files with 0 additions and 5 deletions

View File

@@ -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

View File

@@ -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;
};

View File

@@ -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, "");