|
gem5
|
Cache block visitor that determines if there are dirty blocks in a cache. More...
#include <cache.hh>
Public Member Functions | |
| CacheBlkIsDirtyVisitor () | |
| bool | operator() (CacheBlk &blk) override |
| bool | isDirty () const |
| Does the array contain a dirty line? More... | |
Public Member Functions inherited from CacheBlkVisitor | |
| CacheBlkVisitor () | |
| virtual | ~CacheBlkVisitor () |
Private Attributes | |
| bool | _isDirty |
Cache block visitor that determines if there are dirty blocks in a cache.
Use with the forEachBlk method in the tag array to determine if the array contains dirty blocks.
|
inline |
Does the array contain a dirty line?
Definition at line 623 of file cache.hh.
References _isDirty.
Referenced by Cache::isDirty().
|
inlineoverridevirtual |
Implements CacheBlkVisitor.
Definition at line 609 of file cache.hh.
References _isDirty, and CacheBlk::isDirty().
|
private |
Definition at line 623 of file cache.hh.
Referenced by isDirty(), and operator()().