Go to the documentation of this file.
36 #include "params/BloomFilterBulk.hh"
42 namespace bloom_filter
49 (std::numeric_limits<Addr>::digits -
offsetBits),
50 "Sectors need more bits than available");
91 (part1 << 14) | (part2 << 13) | (part3 << 12) | (part4 << 11) |
92 (part5 << 9) | (part6 << 8) | (part7 << 7) | (part8 << 6) |
93 (part9 << 4) | (part10 << 1) | (part11);
96 Addr remaining_bits =
bits(
addr, std::numeric_limits<Addr>::digits - 1,
98 result = result | remaining_bits;
const int numHashes
Number of hashes.
std::vector< SatCounter8 > filter
The filter itself.
const unsigned offsetBits
Number of LSB bits to ignore from the the addresses.
const int sectorBits
Number of bits used per sector.
Bulk(const BloomFilterBulkParams &p)
constexpr T bits(T val, unsigned first, unsigned last)
Extract the bitfield from position 'first' to 'last' (inclusive) from 'val' and right justify it.
The MultiBitSel Bloom Filter associates an address to multiple entries through the use of multiple ha...
uint64_t Addr
Address type This will probably be moved somewhere else in the near future.
GEM5_DEPRECATED_NAMESPACE(GuestABI, guest_abi)
static constexpr std::enable_if_t< std::is_integral< T >::value, int > floorLog2(T x)
Addr permute(Addr addr) const
Permutes the address to generate its signature.
int hash(Addr addr, int hash_number) const override
Apply the selected the hash functions to an address.
#define fatal_if(cond,...)
Conditional fatal macro that checks the supplied condition and only causes a fatal error if the condi...
Reference material can be found at the JEDEC website: UFS standard http://www.jedec....
Generated on Wed Jul 28 2021 12:10:22 for gem5 by doxygen 1.8.17