gem5
|
#include <MultiGrainBloomFilter.hh>
Public Member Functions | |
MultiGrainBloomFilter (int head, int tail) | |
~MultiGrainBloomFilter () | |
void | clear () |
void | increment (Addr addr) |
void | decrement (Addr addr) |
void | merge (AbstractBloomFilter *other_filter) |
void | set (Addr addr) |
void | unset (Addr addr) |
bool | isSet (Addr addr) |
int | getCount (Addr addr) |
int | getTotalCount () |
int | getIndex (Addr addr) |
int | readBit (const int index) |
void | writeBit (const int index, const int value) |
void | print (std::ostream &out) const |
Public Member Functions inherited from AbstractBloomFilter | |
virtual | ~AbstractBloomFilter () |
Private Member Functions | |
int | get_block_index (Addr addr) |
int | get_page_index (Addr addr) |
Private Attributes | |
std::vector< int > | m_filter |
int | m_filter_size |
int | m_filter_size_bits |
std::vector< int > | m_page_filter |
int | m_page_filter_size |
int | m_page_filter_size_bits |
Definition at line 38 of file MultiGrainBloomFilter.hh.
MultiGrainBloomFilter::MultiGrainBloomFilter | ( | int | head, |
int | tail | ||
) |
Definition at line 37 of file MultiGrainBloomFilter.cc.
References ArmISA::clear(), and floorLog2().
MultiGrainBloomFilter::~MultiGrainBloomFilter | ( | ) |
Definition at line 52 of file MultiGrainBloomFilter.cc.
|
virtual |
Implements AbstractBloomFilter.
Definition at line 57 of file MultiGrainBloomFilter.cc.
References ArmISA::i.
|
virtual |
Implements AbstractBloomFilter.
Definition at line 75 of file MultiGrainBloomFilter.cc.
|
private |
Definition at line 162 of file MultiGrainBloomFilter.cc.
References bitSelect(), and RubySystem::getBlockSizeBits().
|
private |
Definition at line 171 of file MultiGrainBloomFilter.cc.
References bits(), bitSelect(), and RubySystem::getBlockSizeBits().
|
virtual |
Implements AbstractBloomFilter.
Definition at line 114 of file MultiGrainBloomFilter.cc.
|
virtual |
Implements AbstractBloomFilter.
Definition at line 137 of file MultiGrainBloomFilter.cc.
|
virtual |
Implements AbstractBloomFilter.
Definition at line 121 of file MultiGrainBloomFilter.cc.
References X86ISA::count, and ArmISA::i.
|
virtual |
Implements AbstractBloomFilter.
Definition at line 68 of file MultiGrainBloomFilter.cc.
|
virtual |
Implements AbstractBloomFilter.
Definition at line 104 of file MultiGrainBloomFilter.cc.
References ArmISA::i.
|
virtual |
Implements AbstractBloomFilter.
Definition at line 81 of file MultiGrainBloomFilter.cc.
|
virtual |
Implements AbstractBloomFilter.
Definition at line 157 of file MultiGrainBloomFilter.cc.
|
virtual |
Implements AbstractBloomFilter.
Definition at line 144 of file MultiGrainBloomFilter.cc.
|
virtual |
Implements AbstractBloomFilter.
Definition at line 87 of file MultiGrainBloomFilter.cc.
References ArmISA::i.
|
virtual |
Implements AbstractBloomFilter.
Definition at line 98 of file MultiGrainBloomFilter.cc.
|
virtual |
Implements AbstractBloomFilter.
Definition at line 151 of file MultiGrainBloomFilter.cc.
|
private |
Definition at line 65 of file MultiGrainBloomFilter.hh.
|
private |
Definition at line 66 of file MultiGrainBloomFilter.hh.
|
private |
Definition at line 67 of file MultiGrainBloomFilter.hh.
|
private |
Definition at line 69 of file MultiGrainBloomFilter.hh.
|
private |
Definition at line 70 of file MultiGrainBloomFilter.hh.
|
private |
Definition at line 71 of file MultiGrainBloomFilter.hh.