diff options
author | Polina Dudnik <pdudnik@gmail.com> | 2009-08-15 12:45:11 -0500 |
---|---|---|
committer | Polina Dudnik <pdudnik@gmail.com> | 2009-08-15 12:45:11 -0500 |
commit | 6654fe02daf6285cb43aa1c6e0e35f6c9c8786f1 (patch) | |
tree | f0aa578fb78e4f7e2acd708a64c2a1e3b6591bf9 /src/mem/ruby/system | |
parent | a8e11cf3bbb3cdb1e49a4bc0ae8e2e47fbc8400d (diff) | |
download | gem5-6654fe02daf6285cb43aa1c6e0e35f6c9c8786f1.tar.xz |
Made servicing_atomic a counter and added started writes:
a function for setting the flag to indicate that
the rmw_writes started issuing
Diffstat (limited to 'src/mem/ruby/system')
-rw-r--r-- | src/mem/ruby/system/Sequencer.cc | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/mem/ruby/system/Sequencer.cc b/src/mem/ruby/system/Sequencer.cc index eb3430b7f..780c1128e 100644 --- a/src/mem/ruby/system/Sequencer.cc +++ b/src/mem/ruby/system/Sequencer.cc @@ -416,6 +416,9 @@ int64_t Sequencer::makeRequest(const RubyRequest & request) m_dataCache_ptr->clearLocked(line_address(Address(request.paddr))); } } + if (request.type == RubyRequestType_RMW_Write) { + m_controller->started_writes(); + } issueRequest(request); // TODO: issue hardware prefetches here |