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/Network.hh | |
parent | bd8f954526bc33ab2b57fbc91f2caa82b2115db8 (diff) | |
download | gem5-cd33f9bc42816e812298e726fe40a8c68934f965.tar.xz |
ruby: network: move message buffers to base network class.
Diffstat (limited to 'src/mem/ruby/network/Network.hh')
-rw-r--r-- | src/mem/ruby/network/Network.hh | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/src/mem/ruby/network/Network.hh b/src/mem/ruby/network/Network.hh index 527f22ca2..9ddf5c8e6 100644 --- a/src/mem/ruby/network/Network.hh +++ b/src/mem/ruby/network/Network.hh @@ -54,7 +54,6 @@ class NetDest; class MessageBuffer; -class Throttle; class Network : public ClockedObject { @@ -111,6 +110,13 @@ class Network : public ClockedObject static uint32_t m_control_msg_size; static uint32_t m_data_msg_size; + // vector of queues from the components + std::vector<std::vector<MessageBuffer*> > m_toNetQueues; + std::vector<std::vector<MessageBuffer*> > m_fromNetQueues; + + std::vector<bool> m_in_use; + std::vector<bool> m_ordered; + private: //! Callback class used for collating statistics from all the //! controller of this type. |