30 #ifndef __BASE_FILTERS_MULTI_BLOOM_FILTER_HH__
31 #define __BASE_FILTERS_MULTI_BLOOM_FILTER_HH__
40 struct BloomFilterMultiParams;
43 namespace bloom_filter
54 Multi(
const BloomFilterMultiParams &
p);
57 void clear()
override;
This BloomFilter has multiple sub-filters, each with its own hashing functionality.
bool isSet(Addr addr) const override
Check if the corresponding filter entries of an address should be considered as set.
void unset(Addr addr) override
Perform the filter specific function to clear the corresponding entries (can be multiple) of an addre...
std::vector< Base * > filters
Sub-filters used by this filter.
int getCount(Addr addr) const override
Get the value stored in the corresponding filter entry of an address.
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).
void clear() override
Clear the filter by resetting all values.
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...
Reference material can be found at the JEDEC website: UFS standard http://www.jedec....
uint64_t Addr
Address type This will probably be moved somewhere else in the near future.
GEM5_DEPRECATED_NAMESPACE(GuestABI, guest_abi)