Go to the documentation of this file.
29 #ifndef __BASE_FILTERS_PERFECT_BLOOM_FILTER_HH__
30 #define __BASE_FILTERS_PERFECT_BLOOM_FILTER_HH__
32 #include <unordered_set>
39 struct BloomFilterPerfectParams;
41 namespace bloom_filter
50 Perfect(
const BloomFilterPerfectParams &
p);
53 void clear()
override;
69 #endif // __BASE_FILTERS_PERFECT_BLOOM_FILTER_HH__
int getTotalCount() const override
Get the total value stored in the filter entries.
void clear() override
Clear the filter by resetting all values.
A perfect bloom filter with no false positives nor false negatives.
std::unordered_set< Addr > entries
Container storing all set (seen) entries.
Perfect(const BloomFilterPerfectParams &p)
void merge(const Base *other) override
Merges the contents of both filters into this' (Bloom Filter union).
uint64_t Addr
Address type This will probably be moved somewhere else in the near future.
void unset(Addr addr) override
Perform the filter specific function to clear the corresponding entries (can be multiple) of an addre...
void set(Addr addr) override
Perform the filter specific function to set the corresponding entries (can be multiple) of an address...
Reference material can be found at the JEDEC website: UFS standard http://www.jedec....
int getCount(Addr addr) const override
Get the value stored in the corresponding filter entry of an address.
Generated on Sun Jul 30 2023 01:56:51 for gem5 by doxygen 1.8.17