Go to the documentation of this file.
31 #include "params/BloomFilterPerfect.hh"
53 auto* cast_other =
static_cast<const Perfect*
>(other);
54 entries.insert(cast_other->entries.begin(), cast_other->entries.end());
84 BloomFilterPerfectParams::create()
void merge(const Base *other) override
Merges the contents of both filters into this' (Bloom Filter union).
void set(Addr addr) override
Perform the filter specific function to set the corresponding entries (can be multiple) of an address...
uint64_t Addr
Address type This will probably be moved somewhere else in the near future.
std::unordered_set< Addr > entries
Container storing all set (seen) entries.
Perfect(const BloomFilterPerfectParams *p)
void clear() override
Clear the filter by resetting all values.
int getTotalCount() const override
Get the total value stored in the filter entries.
int getCount(Addr addr) const override
Get the value stored in the corresponding filter entry of an address.
void unset(Addr addr) override
Perform the filter specific function to clear the corresponding entries (can be multiple) of an addre...
A perfect bloom filter with no false positives nor false negatives.
Generated on Wed Sep 30 2020 14:02:07 for gem5 by doxygen 1.8.17