mem-ruby: Make H3 inherit from MultiBitSelBloomFilter
authorDaniel R. Carvalho <odanrc@yahoo.com.br>
Sat, 11 May 2019 16:10:04 +0000 (18:10 +0200)
committerDaniel Carvalho <odanrc@yahoo.com.br>
Wed, 28 Aug 2019 22:18:37 +0000 (22:18 +0000)
commitd4df04c4933142b66cf3020b37827b10c9c2045f
treeeee52f606690b4577a27049f127d6b96f8b7bc00
parent8d482dfeb69e77b55bd6548d495e19076be89243
mem-ruby: Make H3 inherit from MultiBitSelBloomFilter

Make MultiBitSelBloomFilter a generic BloomFilter that maps
multiple entries to an address, and therefore uses multiple
hash functions. This allows the common functionality of both
filters to be merged into one, since they only differ in the
hash functions being used.

Change-Id: I0984067b710a208715f5f2727b8c4312feb6529b
Signed-off-by: Daniel R. Carvalho <odanrc@yahoo.com.br>
Reviewed-on: https://gem5-review.googlesource.com/c/public/gem5/+/18873
Reviewed-by: Nikos Nikoleris <nikos.nikoleris@arm.com>
Maintainer: Nikos Nikoleris <nikos.nikoleris@arm.com>
Tested-by: kokoro <noreply+kokoro@google.com>
src/mem/ruby/filters/BloomFilters.py
src/mem/ruby/filters/H3BloomFilter.cc
src/mem/ruby/filters/H3BloomFilter.hh
src/mem/ruby/filters/MultiBitSelBloomFilter.cc
src/mem/ruby/filters/MultiBitSelBloomFilter.hh