diff options
author | Polina Dudnik <pdudnik@gmail.com> | 2009-08-14 14:06:14 -0500 |
---|---|---|
committer | Polina Dudnik <pdudnik@gmail.com> | 2009-08-14 14:06:14 -0500 |
commit | 4b924fd16cf64f242aa4832c13f38fd96c7c1fa0 (patch) | |
tree | 7a9d888449044a5f60178a924054819ba7a755ec /src/mem/ruby/system/Sequencer.hh | |
parent | 35082a67b65457e36cffdc5f8a13aacaa4258939 (diff) | |
download | gem5-4b924fd16cf64f242aa4832c13f38fd96c7c1fa0.tar.xz |
SMT atomics modifications:
don't allow enquing from other threads if servicing and atomic for a thread
Diffstat (limited to 'src/mem/ruby/system/Sequencer.hh')
-rw-r--r-- | src/mem/ruby/system/Sequencer.hh | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/mem/ruby/system/Sequencer.hh b/src/mem/ruby/system/Sequencer.hh index 9b55e9781..2b1f023c5 100644 --- a/src/mem/ruby/system/Sequencer.hh +++ b/src/mem/ruby/system/Sequencer.hh @@ -84,7 +84,7 @@ public: // called by Tester or Simics int64_t makeRequest(const RubyRequest & request); - bool isReady(const RubyRequest& request) const; + bool isReady(const RubyRequest& request); bool empty() const; void print(ostream& out) const; @@ -125,7 +125,8 @@ private: // Global outstanding request count, across all request tables int m_outstanding_count; bool m_deadlock_check_scheduled; - + int m_servicing_atomic; + int m_atomics_counter; }; // Output operator declaration |