Go to the documentation of this file.
30 #ifndef __BASE_FILTERS_MULTI_BLOOM_FILTER_HH__
31 #define __BASE_FILTERS_MULTI_BLOOM_FILTER_HH__
37 struct BloomFilterMultiParams;
49 Multi(
const BloomFilterMultiParams*
p);
52 void clear()
override;
68 #endif // __BASE_FILTERS_MULTI_BLOOM_FILTER_HH__
void clear() override
Clear the filter by resetting all values.
void unset(Addr addr) override
Perform the filter specific function to clear the corresponding entries (can be multiple) of an addre...
Multi(const BloomFilterMultiParams *p)
void set(Addr addr) override
Perform the filter specific function to set the corresponding entries (can be multiple) of an address...
bool isSet(Addr addr) const override
Check if the corresponding filter entries of an address should be considered as set.
std::vector< Base * > filters
Sub-filters used by this filter.
uint64_t Addr
Address type This will probably be moved somewhere else in the near future.
int getTotalCount() const override
Get the total value stored in the filter entries.
void merge(const Base *other) override
Merges the contents of both filters into this' (Bloom Filter union).
This BloomFilter has multiple sub-filters, each with its own hashing functionality.
int getCount(Addr addr) const override
Get the value stored in the corresponding filter entry of an address.
Generated on Wed Sep 30 2020 14:02:07 for gem5 by doxygen 1.8.17