summaryrefslogtreecommitdiff
path: root/src/mem/ruby/system/Sequencer.hh
diff options
context:
space:
mode:
authorDerek Hower <drh5@cs.wisc.edu>2009-11-18 11:55:30 -0600
committerDerek Hower <drh5@cs.wisc.edu>2009-11-18 11:55:30 -0600
commit9ef5e72917c8417c81ce863160cded94d7deb1de (patch)
tree460c2b4dcdde237afed5b25d827624a3acf0af1e /src/mem/ruby/system/Sequencer.hh
parentd11dd6ed2cd1b4e124000beb2317008031a732a2 (diff)
downloadgem5-9ef5e72917c8417c81ce863160cded94d7deb1de.tar.xz
ruby: added sequencer stats to track what requests are waiting on
Diffstat (limited to 'src/mem/ruby/system/Sequencer.hh')
-rw-r--r--src/mem/ruby/system/Sequencer.hh6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/mem/ruby/system/Sequencer.hh b/src/mem/ruby/system/Sequencer.hh
index 52c7860d0..231df01bb 100644
--- a/src/mem/ruby/system/Sequencer.hh
+++ b/src/mem/ruby/system/Sequencer.hh
@@ -88,6 +88,7 @@ public:
bool empty() const;
void print(ostream& out) const;
+ void printStats(ostream & out) const;
void checkCoherence(const Address& address);
// bool getRubyMemoryValue(const Address& addr, char* value, unsigned int size_in_bytes);
@@ -127,6 +128,11 @@ private:
bool m_deadlock_check_scheduled;
int m_atomic_reads;
int m_atomic_writes;
+
+ int m_store_waiting_on_load_cycles;
+ int m_store_waiting_on_store_cycles;
+ int m_load_waiting_on_store_cycles;
+ int m_load_waiting_on_load_cycles;
};
// Output operator declaration