diff options
author | Derek Hower <drh5@cs.wisc.edu> | 2009-11-18 11:55:30 -0600 |
---|---|---|
committer | Derek Hower <drh5@cs.wisc.edu> | 2009-11-18 11:55:30 -0600 |
commit | 9ef5e72917c8417c81ce863160cded94d7deb1de (patch) | |
tree | 460c2b4dcdde237afed5b25d827624a3acf0af1e /src/mem/ruby/system/Sequencer.hh | |
parent | d11dd6ed2cd1b4e124000beb2317008031a732a2 (diff) | |
download | gem5-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.hh | 6 |
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 |