summaryrefslogtreecommitdiff
path: root/src/mem
diff options
context:
space:
mode:
Diffstat (limited to 'src/mem')
-rw-r--r--src/mem/protocol/RubySlicc_Types.sm2
-rw-r--r--src/mem/ruby/network/MessageBuffer.hh2
2 files changed, 4 insertions, 0 deletions
diff --git a/src/mem/protocol/RubySlicc_Types.sm b/src/mem/protocol/RubySlicc_Types.sm
index 11159fd6c..aaae7d2be 100644
--- a/src/mem/protocol/RubySlicc_Types.sm
+++ b/src/mem/protocol/RubySlicc_Types.sm
@@ -45,6 +45,8 @@ structure(InPort, external = "yes", primitive="yes") {
Cycles dequeue();
void recycle();
bool isEmpty();
+ bool isStallMapEmpty();
+ int getStallMapSize();
}
external_type(NodeID, default="0", primitive="yes");
diff --git a/src/mem/ruby/network/MessageBuffer.hh b/src/mem/ruby/network/MessageBuffer.hh
index 604d7bc7d..3ced44250 100644
--- a/src/mem/ruby/network/MessageBuffer.hh
+++ b/src/mem/ruby/network/MessageBuffer.hh
@@ -123,6 +123,8 @@ class MessageBuffer
void recycle();
bool isEmpty() const { return m_prio_heap.size() == 0; }
+ bool isStallMapEmpty() { return m_stall_msg_map.size() == 0; }
+ unsigned int getStallMapSize() { return m_stall_msg_map.size(); }
void
setOrdering(bool order)