gem5
|
#include <BulkBloomFilter.hh>
Public Member Functions | |
BulkBloomFilter (int size) | |
~BulkBloomFilter () | |
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) |
Addr | permute (Addr addr) |
Private Attributes | |
std::vector< int > | m_filter |
std::vector< int > | m_temp_filter |
int | m_filter_size |
int | m_filter_size_bits |
int | m_sector_bits |
Definition at line 38 of file BulkBloomFilter.hh.
BulkBloomFilter::BulkBloomFilter | ( | int | size | ) |
Definition at line 39 of file BulkBloomFilter.cc.
References ArmISA::clear(), floorLog2(), ArmISA::i, and X86ISA::size().
BulkBloomFilter::~BulkBloomFilter | ( | ) |
Definition at line 56 of file BulkBloomFilter.cc.
|
virtual |
Implements AbstractBloomFilter.
Definition at line 61 of file BulkBloomFilter.cc.
References ArmISA::i.
|
virtual |
Implements AbstractBloomFilter.
Definition at line 75 of file BulkBloomFilter.cc.
|
private |
Definition at line 212 of file BulkBloomFilter.cc.
References bitSelect(), and RubySystem::getBlockSizeBits().
|
virtual |
Implements AbstractBloomFilter.
Definition at line 169 of file BulkBloomFilter.cc.
|
virtual |
Implements AbstractBloomFilter.
Definition at line 188 of file BulkBloomFilter.cc.
|
virtual |
Implements AbstractBloomFilter.
Definition at line 176 of file BulkBloomFilter.cc.
References X86ISA::count, and ArmISA::i.
|
virtual |
Implements AbstractBloomFilter.
Definition at line 69 of file BulkBloomFilter.cc.
|
virtual |
Implements AbstractBloomFilter.
Definition at line 113 of file BulkBloomFilter.cc.
References bitSelect(), RubySystem::getBlockSizeBits(), and ArmISA::i.
|
virtual |
Implements AbstractBloomFilter.
Definition at line 81 of file BulkBloomFilter.cc.
Definition at line 220 of file BulkBloomFilter.cc.
References bitSelect(), and RubySystem::getBlockSizeBits().
|
virtual |
Implements AbstractBloomFilter.
Definition at line 207 of file BulkBloomFilter.cc.
|
virtual |
Implements AbstractBloomFilter.
Definition at line 194 of file BulkBloomFilter.cc.
|
virtual |
Implements AbstractBloomFilter.
Definition at line 87 of file BulkBloomFilter.cc.
References bitSelect(), and RubySystem::getBlockSizeBits().
|
virtual |
Implements AbstractBloomFilter.
Definition at line 107 of file BulkBloomFilter.cc.
|
virtual |
Implements AbstractBloomFilter.
Definition at line 201 of file BulkBloomFilter.cc.
|
private |
Definition at line 64 of file BulkBloomFilter.hh.
|
private |
Definition at line 67 of file BulkBloomFilter.hh.
|
private |
Definition at line 68 of file BulkBloomFilter.hh.
|
private |
Definition at line 70 of file BulkBloomFilter.hh.
|
private |
Definition at line 65 of file BulkBloomFilter.hh.