diff options
author | Nilay Vaish <nilay@cs.wisc.edu> | 2011-03-22 06:41:54 -0500 |
---|---|---|
committer | Nilay Vaish <nilay@cs.wisc.edu> | 2011-03-22 06:41:54 -0500 |
commit | 1764ebbf30cfd94eb7ccc618ade0d70049db000e (patch) | |
tree | 3c400317f716fcf50c996e9f4fb03980efd9cf3a /src/mem/ruby/system/CacheMemory.cc | |
parent | 46cce440be4999cfdedebbf190c83570ba9f1b49 (diff) | |
download | gem5-1764ebbf30cfd94eb7ccc618ade0d70049db000e.tar.xz |
Ruby: Remove CacheMsg class from SLICC
The goal of the patch is to do away with the CacheMsg class currently in use
in coherence protocols. In place of CacheMsg, the RubyRequest class will used.
This class is already present in slicc_interface/RubyRequest.hh. In fact,
objects of class CacheMsg are generated by copying values from a RubyRequest
object.
Diffstat (limited to 'src/mem/ruby/system/CacheMemory.cc')
-rw-r--r-- | src/mem/ruby/system/CacheMemory.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mem/ruby/system/CacheMemory.cc b/src/mem/ruby/system/CacheMemory.cc index ea5054e4c..192fa8c87 100644 --- a/src/mem/ruby/system/CacheMemory.cc +++ b/src/mem/ruby/system/CacheMemory.cc @@ -344,7 +344,7 @@ CacheMemory::setMRU(const Address& address) } void -CacheMemory::profileMiss(const CacheMsg& msg) +CacheMemory::profileMiss(const RubyRequest& msg) { m_profiler_ptr->addCacheStatSample(msg.getType(), msg.getAccessMode(), |