Go to the documentation of this file.
30 #ifndef __BASE_FILTERS_BLOCK_BLOOM_FILTER_HH__
31 #define __BASE_FILTERS_BLOCK_BLOOM_FILTER_HH__
40 struct BloomFilterBlockParams;
42 namespace bloom_filter
52 Block(
const BloomFilterBlockParams &
p);
78 #endif // __BASE_FILTERS_BLOCK_BLOOM_FILTER_HH__
Block(const BloomFilterBlockParams &p)
int getCount(Addr addr) const override
Get the value stored in the corresponding filter entry of an address.
void set(Addr addr) override
Perform the filter specific function to set the corresponding entries (can be multiple) of an address...
void unset(Addr addr) override
Perform the filter specific function to clear the corresponding entries (can be multiple) of an addre...
Simple deletable (with false negatives) bloom filter that extracts bitfields of an address to use as ...
uint64_t Addr
Address type This will probably be moved somewhere else in the near future.
std::vector< unsigned > masksLSBs
Position of the LSB of each mask.
std::vector< unsigned > masksSizes
Number of bits in each mask.
int hash(Addr addr) const
XOR hash between bitfields of an address, provided by the mask vector.
Reference material can be found at the JEDEC website: UFS standard http://www.jedec....
Generated on Sun Jul 30 2023 01:56:51 for gem5 by doxygen 1.8.17