gem5
|
#include <LSB_CountingBloomFilter.hh>
Public Member Functions | |
LSB_CountingBloomFilter (int head, int tail) | |
~LSB_CountingBloomFilter () | |
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 |
int | m_count_bits |
int | m_count |
Definition at line 38 of file LSB_CountingBloomFilter.hh.
LSB_CountingBloomFilter::LSB_CountingBloomFilter | ( | int | head, |
int | tail | ||
) |
Definition at line 36 of file LSB_CountingBloomFilter.cc.
References ArmISA::clear(), and floorLog2().
LSB_CountingBloomFilter::~LSB_CountingBloomFilter | ( | ) |
Definition at line 48 of file LSB_CountingBloomFilter.cc.
|
virtual |
Implements AbstractBloomFilter.
Definition at line 53 of file LSB_CountingBloomFilter.cc.
References ArmISA::i.
|
virtual |
Implements AbstractBloomFilter.
Definition at line 70 of file LSB_CountingBloomFilter.cc.
References ArmISA::i.
|
private |
Definition at line 144 of file LSB_CountingBloomFilter.cc.
References bitSelect(), and RubySystem::getBlockSizeBits().
|
virtual |
Implements AbstractBloomFilter.
Definition at line 103 of file LSB_CountingBloomFilter.cc.
|
virtual |
Implements AbstractBloomFilter.
Definition at line 120 of file LSB_CountingBloomFilter.cc.
|
virtual |
Implements AbstractBloomFilter.
Definition at line 109 of file LSB_CountingBloomFilter.cc.
References X86ISA::count, and ArmISA::i.
|
virtual |
Implements AbstractBloomFilter.
Definition at line 61 of file LSB_CountingBloomFilter.cc.
References ArmISA::i.
|
virtual |
Implements AbstractBloomFilter.
Definition at line 96 of file LSB_CountingBloomFilter.cc.
|
virtual |
Implements AbstractBloomFilter.
Definition at line 78 of file LSB_CountingBloomFilter.cc.
|
virtual |
Implements AbstractBloomFilter.
Definition at line 126 of file LSB_CountingBloomFilter.cc.
|
virtual |
Implements AbstractBloomFilter.
Definition at line 131 of file LSB_CountingBloomFilter.cc.
|
virtual |
Implements AbstractBloomFilter.
Definition at line 84 of file LSB_CountingBloomFilter.cc.
|
virtual |
Implements AbstractBloomFilter.
Definition at line 90 of file LSB_CountingBloomFilter.cc.
|
virtual |
Implements AbstractBloomFilter.
Definition at line 138 of file LSB_CountingBloomFilter.cc.
|
private |
Definition at line 68 of file LSB_CountingBloomFilter.hh.
|
private |
Definition at line 67 of file LSB_CountingBloomFilter.hh.
|
private |
Definition at line 63 of file LSB_CountingBloomFilter.hh.
|
private |
Definition at line 64 of file LSB_CountingBloomFilter.hh.
|
private |
Definition at line 65 of file LSB_CountingBloomFilter.hh.