mem-cache: Create CacheComp debug flag
authorDaniel R. Carvalho <odanrc@yahoo.com.br>
Tue, 29 May 2018 15:42:34 +0000 (17:42 +0200)
committerDaniel Carvalho <odanrc@yahoo.com.br>
Wed, 8 May 2019 17:41:09 +0000 (17:41 +0000)
Create a debug flag for cache compression.

Change-Id: Id4b8e86d658d3aa550906ee0f8da3b54f4cdab7d
Reviewed-on: https://gem5-review.googlesource.com/c/public/gem5/+/11104
Tested-by: kokoro <noreply+kokoro@google.com>
Reviewed-by: Jason Lowe-Power <jason@lowepower.com>
Reviewed-by: Nikos Nikoleris <nikos.nikoleris@arm.com>
Maintainer: Jason Lowe-Power <jason@lowepower.com>

src/mem/cache/SConscript

index 1b2638e83253c4325e10c88a5f884920605019a5..3fb1601de2c5d967d1f6cf18f84d60fda4758fd6 100644 (file)
@@ -42,6 +42,7 @@ Source('write_queue.cc')
 Source('write_queue_entry.cc')
 
 DebugFlag('Cache')
+DebugFlag('CacheComp')
 DebugFlag('CachePort')
 DebugFlag('CacheRepl')
 DebugFlag('CacheTags')
@@ -51,6 +52,6 @@ DebugFlag('HWPrefetch')
 # CacheTags is so outrageously verbose, printing the cache's entire tag
 # array on each timing access, that you should probably have to ask for
 # it explicitly even above and beyond CacheAll.
-CompoundFlag('CacheAll', ['Cache', 'CachePort', 'CacheRepl', 'CacheVerbose',
-                          'HWPrefetch'])
+CompoundFlag('CacheAll', ['Cache', 'CacheComp', 'CachePort', 'CacheRepl',
+                          'CacheVerbose', 'HWPrefetch'])