diff options
Diffstat (limited to 'src/mem/ruby/filters/H3BloomFilter.hh')
-rw-r--r-- | src/mem/ruby/filters/H3BloomFilter.hh | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/src/mem/ruby/filters/H3BloomFilter.hh b/src/mem/ruby/filters/H3BloomFilter.hh index 6c18508eb..babd86657 100644 --- a/src/mem/ruby/filters/H3BloomFilter.hh +++ b/src/mem/ruby/filters/H3BloomFilter.hh @@ -29,6 +29,9 @@ #ifndef __MEM_RUBY_FILTERS_H3BLOOMFILTER_HH__ #define __MEM_RUBY_FILTERS_H3BLOOMFILTER_HH__ +#include <iostream> +#include <string> + #include "mem/gems_common/Map.hh" #include "mem/ruby/common/Address.hh" #include "mem/ruby/common/Global.hh" @@ -39,7 +42,7 @@ class H3BloomFilter : public AbstractBloomFilter { public: - H3BloomFilter(string config); + H3BloomFilter(std::string config); ~H3BloomFilter(); void clear(); @@ -52,7 +55,7 @@ class H3BloomFilter : public AbstractBloomFilter bool isSet(const Address& addr); int getCount(const Address& addr); int getTotalCount(); - void print(ostream& out) const; + void print(std::ostream& out) const; int getIndex(const Address& addr); int readBit(const int index); |