diff options
author | Nilay Vaish <nilay@cs.wisc.edu> | 2014-02-20 17:26:41 -0600 |
---|---|---|
committer | Nilay Vaish <nilay@cs.wisc.edu> | 2014-02-20 17:26:41 -0600 |
commit | b312a41f21b6f76607fe7480a915a4c5093386a3 (patch) | |
tree | 94092e1c3a3123af56a22aa2fd745ab8a66ba00b /src/mem/ruby/network/simple | |
parent | 0d6009e8dc3ab8419ca7daf9c79c9c987464e3ae (diff) | |
download | gem5-b312a41f21b6f76607fe7480a915a4c5093386a3.tar.xz |
ruby: message buffer: removes some unecessary functions.
Diffstat (limited to 'src/mem/ruby/network/simple')
-rw-r--r-- | src/mem/ruby/network/simple/PerfectSwitch.cc | 2 | ||||
-rw-r--r-- | src/mem/ruby/network/simple/Throttle.cc | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/src/mem/ruby/network/simple/PerfectSwitch.cc b/src/mem/ruby/network/simple/PerfectSwitch.cc index d2f05e1b0..ecd1eb0be 100644 --- a/src/mem/ruby/network/simple/PerfectSwitch.cc +++ b/src/mem/ruby/network/simple/PerfectSwitch.cc @@ -286,7 +286,7 @@ PerfectSwitch::wakeup() } // Dequeue msg - m_in[incoming][vnet]->pop(); + m_in[incoming][vnet]->dequeue(); m_pending_message_count[vnet]--; } } diff --git a/src/mem/ruby/network/simple/Throttle.cc b/src/mem/ruby/network/simple/Throttle.cc index 88b46e252..df5e624b3 100644 --- a/src/mem/ruby/network/simple/Throttle.cc +++ b/src/mem/ruby/network/simple/Throttle.cc @@ -160,7 +160,7 @@ Throttle::wakeup() // Move the message m_out[vnet]->enqueue(m_in[vnet]->peekMsgPtr(), m_link_latency); - m_in[vnet]->pop(); + m_in[vnet]->dequeue(); // Count the message m_msg_counts[net_msg_ptr->getMessageSize()][vnet]++; |