35 #include "params/BaseDictionaryCompressor.hh"
45 :
Base(
p), dictionarySize(
p.dictionary_size),
46 numEntries(0), dictionaryStats(stats, *this)
52 : statistics::
Group(&base_group), compressor(_compressor),
54 "Number of data entries that were compressed to this pattern")
64 patterns.init(compressor.getNumPatterns());
65 for (
unsigned i = 0;
i < compressor.getNumPatterns(); ++
i) {
66 const std::string
name = compressor.getName(
i);
67 patterns.subname(
i,
name);
68 patterns.subdesc(
i,
"Number of data entries that match pattern " +
virtual std::string name() const
BaseDictionaryCompressor(const Params &p)
Base cache compressor interface.
BaseCacheCompressorParams Params
Definition of a dictionary based cache compressor.
#define ADD_STAT(n,...)
Convenience macro to add a stat to a statistics group.
virtual void regStats()
Callback to set stat parameters.
Reference material can be found at the JEDEC website: UFS standard http://www.jedec....
GEM5_DEPRECATED_NAMESPACE(GuestABI, guest_abi)
void regStats() override
Callback to set stat parameters.
DictionaryStats(BaseStats &base_group, BaseDictionaryCompressor &_compressor)