gem5
|
#include <BlockBloomFilter.hh>
Public Member Functions | |
BlockBloomFilter (int size) | |
~BlockBloomFilter () | |
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_index (Addr addr) |
Private Attributes | |
std::vector< int > | m_filter |
int | m_filter_size |
int | m_filter_size_bits |
Definition at line 38 of file BlockBloomFilter.hh.
BlockBloomFilter::BlockBloomFilter | ( | int | size | ) |
Definition at line 37 of file BlockBloomFilter.cc.
References ArmISA::clear(), floorLog2(), and X86ISA::size().
BlockBloomFilter::~BlockBloomFilter | ( | ) |
Definition at line 47 of file BlockBloomFilter.cc.
|
virtual |
Implements AbstractBloomFilter.
Definition at line 52 of file BlockBloomFilter.cc.
References ArmISA::i.
|
virtual |
Implements AbstractBloomFilter.
Definition at line 66 of file BlockBloomFilter.cc.
|
private |
Definition at line 141 of file BlockBloomFilter.cc.
References bitSelect(), RubySystem::getBlockSizeBits(), MipsISA::index, and ArmISA::offset.
|
virtual |
Implements AbstractBloomFilter.
Definition at line 99 of file BlockBloomFilter.cc.
|
virtual |
Implements AbstractBloomFilter.
Definition at line 118 of file BlockBloomFilter.cc.
|
virtual |
Implements AbstractBloomFilter.
Definition at line 105 of file BlockBloomFilter.cc.
References X86ISA::count, and ArmISA::i.
|
virtual |
Implements AbstractBloomFilter.
Definition at line 60 of file BlockBloomFilter.cc.
|
virtual |
Implements AbstractBloomFilter.
Definition at line 92 of file BlockBloomFilter.cc.
References ArmISA::i.
|
virtual |
Implements AbstractBloomFilter.
Definition at line 72 of file BlockBloomFilter.cc.
|
virtual |
Implements AbstractBloomFilter.
Definition at line 124 of file BlockBloomFilter.cc.
|
virtual |
Implements AbstractBloomFilter.
Definition at line 129 of file BlockBloomFilter.cc.
References MipsISA::index.
|
virtual |
Implements AbstractBloomFilter.
Definition at line 78 of file BlockBloomFilter.cc.
References ArmISA::i.
|
virtual |
Implements AbstractBloomFilter.
Definition at line 85 of file BlockBloomFilter.cc.
References ArmISA::i.
|
virtual |
Implements AbstractBloomFilter.
Definition at line 135 of file BlockBloomFilter.cc.
References MipsISA::index.
|
private |
Definition at line 63 of file BlockBloomFilter.hh.
|
private |
Definition at line 64 of file BlockBloomFilter.hh.
|
private |
Definition at line 65 of file BlockBloomFilter.hh.