gem5
|
#include <NonCountingBloomFilter.hh>
Public Member Functions | |
NonCountingBloomFilter (int head, int tail) | |
~NonCountingBloomFilter () | |
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 |
int | operator[] (const int index) 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_offset |
int | m_filter_size_bits |
Definition at line 38 of file NonCountingBloomFilter.hh.
NonCountingBloomFilter::NonCountingBloomFilter | ( | int | head, |
int | tail | ||
) |
Definition at line 37 of file NonCountingBloomFilter.cc.
References ArmISA::clear(), and floorLog2().
NonCountingBloomFilter::~NonCountingBloomFilter | ( | ) |
Definition at line 48 of file NonCountingBloomFilter.cc.
|
virtual |
Implements AbstractBloomFilter.
Definition at line 53 of file NonCountingBloomFilter.cc.
References ArmISA::i.
|
virtual |
Implements AbstractBloomFilter.
Definition at line 67 of file NonCountingBloomFilter.cc.
|
private |
Definition at line 145 of file NonCountingBloomFilter.cc.
References bitSelect(), and RubySystem::getBlockSizeBits().
|
virtual |
Implements AbstractBloomFilter.
Definition at line 105 of file NonCountingBloomFilter.cc.
|
virtual |
Implements AbstractBloomFilter.
Definition at line 127 of file NonCountingBloomFilter.cc.
|
virtual |
Implements AbstractBloomFilter.
Definition at line 111 of file NonCountingBloomFilter.cc.
References X86ISA::count, and ArmISA::i.
|
virtual |
Implements AbstractBloomFilter.
Definition at line 61 of file NonCountingBloomFilter.cc.
|
virtual |
Implements AbstractBloomFilter.
Definition at line 97 of file NonCountingBloomFilter.cc.
References ArmISA::i.
|
virtual |
Implements AbstractBloomFilter.
Definition at line 73 of file NonCountingBloomFilter.cc.
References ArmISA::i.
|
inline |
Definition at line 62 of file NonCountingBloomFilter.hh.
References MipsISA::index, and m_filter.
|
virtual |
Implements AbstractBloomFilter.
Definition at line 122 of file NonCountingBloomFilter.cc.
|
virtual |
Implements AbstractBloomFilter.
Definition at line 133 of file NonCountingBloomFilter.cc.
References MipsISA::index.
|
virtual |
Implements AbstractBloomFilter.
Definition at line 83 of file NonCountingBloomFilter.cc.
References ArmISA::i.
|
virtual |
Implements AbstractBloomFilter.
Definition at line 90 of file NonCountingBloomFilter.cc.
References ArmISA::i.
|
virtual |
Implements AbstractBloomFilter.
Definition at line 139 of file NonCountingBloomFilter.cc.
References MipsISA::index.
|
private |
Definition at line 70 of file NonCountingBloomFilter.hh.
Referenced by operator[]().
|
private |
Definition at line 71 of file NonCountingBloomFilter.hh.
|
private |
Definition at line 73 of file NonCountingBloomFilter.hh.
|
private |
Definition at line 72 of file NonCountingBloomFilter.hh.