Go to the documentation of this file.
30 #ifndef __BASE_FILTERS_BLOCK_BLOOM_FILTER_HH__
31 #define __BASE_FILTERS_BLOCK_BLOOM_FILTER_HH__
37 struct BloomFilterBlockParams;
48 Block(
const BloomFilterBlockParams*
p);
73 #endif // __BASE_FILTERS_BLOCK_BLOOM_FILTER_HH__
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...
std::vector< unsigned > masksSizes
Number of bits in each mask.
Block(const BloomFilterBlockParams *p)
uint64_t Addr
Address type This will probably be moved somewhere else in the near future.
int getCount(Addr addr) const override
Get the value stored in the corresponding filter entry of an address.
Simple deletable (with false negatives) bloom filter that extracts bitfields of an address to use as ...
int hash(Addr addr) const
XOR hash between bitfields of an address, provided by the mask vector.
std::vector< unsigned > masksLSBs
Position of the LSB of each mask.
Generated on Wed Sep 30 2020 14:02:07 for gem5 by doxygen 1.8.17