diff options
author | Nilay Vaish <nilay@cs.wisc.edu> | 2015-08-14 19:28:44 -0500 |
---|---|---|
committer | Nilay Vaish <nilay@cs.wisc.edu> | 2015-08-14 19:28:44 -0500 |
commit | cb133b5f2cfc0b8410da85c834b89f791d4f8533 (patch) | |
tree | 5e34c7f30efdacd7ad266d4824754c155e679850 /src/mem/ruby/network/MessageBuffer.cc | |
parent | 5f1d1ce5d47dd586bbed8f055cb5b9b27f3342ea (diff) | |
download | gem5-cb133b5f2cfc0b8410da85c834b89f791d4f8533.tar.xz |
ruby: remove unused functionalRead() function.
Diffstat (limited to 'src/mem/ruby/network/MessageBuffer.cc')
-rw-r--r-- | src/mem/ruby/network/MessageBuffer.cc | 26 |
1 files changed, 0 insertions, 26 deletions
diff --git a/src/mem/ruby/network/MessageBuffer.cc b/src/mem/ruby/network/MessageBuffer.cc index a72d8509e..e9c575028 100644 --- a/src/mem/ruby/network/MessageBuffer.cc +++ b/src/mem/ruby/network/MessageBuffer.cc @@ -362,32 +362,6 @@ MessageBuffer::isReady() const (m_prio_heap.front()->getLastEnqueueTime() <= m_receiver->clockEdge())); } -bool -MessageBuffer::functionalRead(Packet *pkt) -{ - // Check the priority heap and read any messages that may - // correspond to the address in the packet. - for (unsigned int i = 0; i < m_prio_heap.size(); ++i) { - Message *msg = m_prio_heap[i].get(); - if (msg->functionalRead(pkt)) return true; - } - - // Read the messages in the stall queue that correspond - // to the address in the packet. - for (StallMsgMapType::iterator map_iter = m_stall_msg_map.begin(); - map_iter != m_stall_msg_map.end(); - ++map_iter) { - - for (std::list<MsgPtr>::iterator it = (map_iter->second).begin(); - it != (map_iter->second).end(); ++it) { - - Message *msg = (*it).get(); - if (msg->functionalRead(pkt)) return true; - } - } - return false; -} - uint32_t MessageBuffer::functionalWrite(Packet *pkt) { |