ruby: cache: remove not required variable m_cache_name
This commit is contained in:
parent
f8f8b7e5c2
commit
307f53e164
2 changed files with 1 additions and 2 deletions
|
@ -364,7 +364,7 @@ CacheMemory::recordCacheContents(int cntrl, CacheRecorder* tr) const
|
|||
void
|
||||
CacheMemory::print(ostream& out) const
|
||||
{
|
||||
out << "Cache dump: " << m_cache_name << endl;
|
||||
out << "Cache dump: " << name() << endl;
|
||||
for (int i = 0; i < m_cache_num_sets; i++) {
|
||||
for (int j = 0; j < m_cache_assoc; j++) {
|
||||
if (m_cache[i][j] != NULL) {
|
||||
|
|
|
@ -144,7 +144,6 @@ class CacheMemory : public SimObject
|
|||
CacheMemory& operator=(const CacheMemory& obj);
|
||||
|
||||
private:
|
||||
const std::string m_cache_name;
|
||||
Cycles m_latency;
|
||||
|
||||
// Data Members (m_prefix)
|
||||
|
|
Loading…
Reference in a new issue