diff options
author | Nilay Vaish <nilay@cs.wisc.edu> | 2014-02-21 08:02:05 -0600 |
---|---|---|
committer | Nilay Vaish <nilay@cs.wisc.edu> | 2014-02-21 08:02:05 -0600 |
commit | cd33f9bc42816e812298e726fe40a8c68934f965 (patch) | |
tree | 3d94a6044f3dde64c3910cea27a1d825248751f9 /src/mem/ruby/network/garnet | |
parent | bd8f954526bc33ab2b57fbc91f2caa82b2115db8 (diff) | |
download | gem5-cd33f9bc42816e812298e726fe40a8c68934f965.tar.xz |
ruby: network: move message buffers to base network class.
Diffstat (limited to 'src/mem/ruby/network/garnet')
6 files changed, 0 insertions, 20 deletions
diff --git a/src/mem/ruby/network/garnet/BaseGarnetNetwork.cc b/src/mem/ruby/network/garnet/BaseGarnetNetwork.cc index 1082a15fb..f237c4dcc 100644 --- a/src/mem/ruby/network/garnet/BaseGarnetNetwork.cc +++ b/src/mem/ruby/network/garnet/BaseGarnetNetwork.cc @@ -29,8 +29,6 @@ */ #include "mem/ruby/buffers/MessageBuffer.hh" -#include "mem/ruby/network/BasicLink.hh" -#include "mem/ruby/network/Topology.hh" #include "mem/ruby/network/garnet/BaseGarnetNetwork.hh" using namespace std; diff --git a/src/mem/ruby/network/garnet/BaseGarnetNetwork.hh b/src/mem/ruby/network/garnet/BaseGarnetNetwork.hh index 57d4cc581..c4bb9f5b1 100644 --- a/src/mem/ruby/network/garnet/BaseGarnetNetwork.hh +++ b/src/mem/ruby/network/garnet/BaseGarnetNetwork.hh @@ -88,12 +88,6 @@ class BaseGarnetNetwork : public Network int m_vcs_per_vnet; bool m_enable_fault_model; - std::vector<bool> m_in_use; - std::vector<bool> m_ordered; - - std::vector<std::vector<MessageBuffer*> > m_toNetQueues; - std::vector<std::vector<MessageBuffer*> > m_fromNetQueues; - // Statistical variables Stats::Vector m_flits_received; Stats::Vector m_flits_injected; 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 831c0b2fe..ca19d7775 100644 --- a/src/mem/ruby/network/garnet/fixed-pipeline/GarnetNetwork_d.cc +++ b/src/mem/ruby/network/garnet/fixed-pipeline/GarnetNetwork_d.cc @@ -33,16 +33,13 @@ #include "base/cast.hh" #include "base/stl_helpers.hh" #include "mem/protocol/MachineType.hh" -#include "mem/ruby/buffers/MessageBuffer.hh" #include "mem/ruby/common/NetDest.hh" -#include "mem/ruby/network/garnet/BaseGarnetNetwork.hh" #include "mem/ruby/network/garnet/fixed-pipeline/CreditLink_d.hh" #include "mem/ruby/network/garnet/fixed-pipeline/GarnetLink_d.hh" #include "mem/ruby/network/garnet/fixed-pipeline/GarnetNetwork_d.hh" #include "mem/ruby/network/garnet/fixed-pipeline/NetworkInterface_d.hh" #include "mem/ruby/network/garnet/fixed-pipeline/NetworkLink_d.hh" #include "mem/ruby/network/garnet/fixed-pipeline/Router_d.hh" -#include "mem/ruby/network/Topology.hh" using namespace std; using m5::stl_helpers::deletePointers; 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 53cf595e5..5aef42f3a 100644 --- a/src/mem/ruby/network/garnet/fixed-pipeline/GarnetNetwork_d.hh +++ b/src/mem/ruby/network/garnet/fixed-pipeline/GarnetNetwork_d.hh @@ -36,14 +36,11 @@ #include "mem/ruby/network/garnet/BaseGarnetNetwork.hh" #include "mem/ruby/network/garnet/NetworkHeader.hh" -#include "mem/ruby/network/Network.hh" #include "params/GarnetNetwork_d.hh" class FaultModel; class NetworkInterface_d; -class MessageBuffer; class Router_d; -class Topology; class NetDest; class NetworkLink_d; class CreditLink_d; diff --git a/src/mem/ruby/network/garnet/flexible-pipeline/GarnetNetwork.cc b/src/mem/ruby/network/garnet/flexible-pipeline/GarnetNetwork.cc index 1e24cbc69..7bb0389b5 100644 --- a/src/mem/ruby/network/garnet/flexible-pipeline/GarnetNetwork.cc +++ b/src/mem/ruby/network/garnet/flexible-pipeline/GarnetNetwork.cc @@ -33,7 +33,6 @@ #include "base/cast.hh" #include "base/stl_helpers.hh" #include "mem/protocol/MachineType.hh" -#include "mem/ruby/buffers/MessageBuffer.hh" #include "mem/ruby/common/NetDest.hh" #include "mem/ruby/network/BasicLink.hh" #include "mem/ruby/network/garnet/flexible-pipeline/GarnetLink.hh" @@ -41,7 +40,6 @@ #include "mem/ruby/network/garnet/flexible-pipeline/NetworkInterface.hh" #include "mem/ruby/network/garnet/flexible-pipeline/NetworkLink.hh" #include "mem/ruby/network/garnet/flexible-pipeline/Router.hh" -#include "mem/ruby/network/Topology.hh" using namespace std; using m5::stl_helpers::deletePointers; @@ -145,7 +143,6 @@ GarnetNetwork::makeInternalLink(SwitchID src, SwitchID dest, BasicLink* link, m_routers[dest]->addInPort(net_link); m_routers[src]->addOutPort(net_link, routing_table_entry, link->m_weight); - } void diff --git a/src/mem/ruby/network/garnet/flexible-pipeline/GarnetNetwork.hh b/src/mem/ruby/network/garnet/flexible-pipeline/GarnetNetwork.hh index d468e9614..bd273b0c8 100644 --- a/src/mem/ruby/network/garnet/flexible-pipeline/GarnetNetwork.hh +++ b/src/mem/ruby/network/garnet/flexible-pipeline/GarnetNetwork.hh @@ -36,13 +36,10 @@ #include "mem/ruby/network/garnet/BaseGarnetNetwork.hh" #include "mem/ruby/network/garnet/NetworkHeader.hh" -#include "mem/ruby/network/Network.hh" #include "params/GarnetNetwork.hh" class NetworkInterface; -class MessageBuffer; class Router; -class Topology; class NetDest; class NetworkLink; |