gem5
|
#include <MultiBitSelBloomFilter.hh>
Public Member Functions | |
MultiBitSelBloomFilter (std::string config) | |
~MultiBitSelBloomFilter () | |
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 () |
void | print (std::ostream &out) const |
int | getIndex (Addr addr) |
int | readBit (const int index) |
void | writeBit (const int index, const int value) |
int | operator[] (const int index) const |
Public Member Functions inherited from AbstractBloomFilter | |
virtual | ~AbstractBloomFilter () |
Private Member Functions | |
int | get_index (Addr addr, int hashNumber) |
int | hash_bitsel (uint64_t value, int index, int jump, int maxBits, int numBits) |
Private Attributes | |
std::vector< int > | m_filter |
int | m_filter_size |
int | m_num_hashes |
int | m_filter_size_bits |
int | m_skip_bits |
int | m_par_filter_size |
int | m_par_filter_size_bits |
bool | isParallel |
Definition at line 40 of file MultiBitSelBloomFilter.hh.
MultiBitSelBloomFilter::MultiBitSelBloomFilter | ( | std::string | config | ) |
Definition at line 38 of file MultiBitSelBloomFilter.cc.
References ArmISA::clear(), floorLog2(), panic, and tokenize().
MultiBitSelBloomFilter::~MultiBitSelBloomFilter | ( | ) |
Definition at line 67 of file MultiBitSelBloomFilter.cc.
|
virtual |
Implements AbstractBloomFilter.
Definition at line 72 of file MultiBitSelBloomFilter.cc.
References ArmISA::i.
|
virtual |
Implements AbstractBloomFilter.
Definition at line 87 of file MultiBitSelBloomFilter.cc.
|
private |
Definition at line 170 of file MultiBitSelBloomFilter.cc.
References makeLineAddress(), and X86ISA::x.
|
virtual |
Implements AbstractBloomFilter.
Definition at line 131 of file MultiBitSelBloomFilter.cc.
|
virtual |
Implements AbstractBloomFilter.
Definition at line 137 of file MultiBitSelBloomFilter.cc.
|
virtual |
Implements AbstractBloomFilter.
Definition at line 154 of file MultiBitSelBloomFilter.cc.
References X86ISA::count, and ArmISA::i.
|
private |
Definition at line 187 of file MultiBitSelBloomFilter.cc.
References ArmISA::i, and ArmISA::mask.
|
virtual |
Implements AbstractBloomFilter.
Definition at line 80 of file MultiBitSelBloomFilter.cc.
|
virtual |
Implements AbstractBloomFilter.
Definition at line 119 of file MultiBitSelBloomFilter.cc.
References ArmISA::i.
|
virtual |
Implements AbstractBloomFilter.
Definition at line 93 of file MultiBitSelBloomFilter.cc.
References ArmISA::i.
|
inline |
Definition at line 63 of file MultiBitSelBloomFilter.hh.
References MipsISA::index, and m_filter.
|
virtual |
Implements AbstractBloomFilter.
Definition at line 165 of file MultiBitSelBloomFilter.cc.
|
virtual |
Implements AbstractBloomFilter.
Definition at line 143 of file MultiBitSelBloomFilter.cc.
|
virtual |
Implements AbstractBloomFilter.
Definition at line 103 of file MultiBitSelBloomFilter.cc.
References ArmISA::i.
|
virtual |
Implements AbstractBloomFilter.
Definition at line 112 of file MultiBitSelBloomFilter.cc.
|
virtual |
Implements AbstractBloomFilter.
Definition at line 149 of file MultiBitSelBloomFilter.cc.
|
private |
Definition at line 83 of file MultiBitSelBloomFilter.hh.
|
private |
Definition at line 74 of file MultiBitSelBloomFilter.hh.
Referenced by operator[]().
|
private |
Definition at line 75 of file MultiBitSelBloomFilter.hh.
|
private |
Definition at line 77 of file MultiBitSelBloomFilter.hh.
|
private |
Definition at line 76 of file MultiBitSelBloomFilter.hh.
|
private |
Definition at line 80 of file MultiBitSelBloomFilter.hh.
|
private |
Definition at line 81 of file MultiBitSelBloomFilter.hh.
|
private |
Definition at line 78 of file MultiBitSelBloomFilter.hh.