37 #include "params/BaseDictionaryCompressor.hh" 53 .
desc(
"Number of data entries that were compressed to this pattern.")
Derived & subname(off_type index, const std::string &name)
Set the subfield name for the given index, and marks this stat to print at the end of simulation...
void regStats() override
Callback to set stat parameters.
virtual void regStats()
Callback to set stat parameters.
Derived & subdesc(off_type index, const std::string &desc)
Set the subfield description for the given index and marks this stat to print at the end of simulatio...
Derived & init(size_type size)
Set this vector to have the given size.
virtual std::string getName(int number) const =0
Get meta-name assigned to the given pattern.
virtual uint64_t getNumPatterns() const =0
Trick function to get the number of patterns.
Base cache compressor interface.
virtual const std::string name() const
Stats::Vector patternStats
Number of data entries that were compressed to each pattern.
Derived & name(const std::string &name)
Set the name and marks this stat to print at the end of simulation.
Definition of a dictionary based cache compressor.
BaseCacheCompressorParams Params
Convenience typedef.
BaseDictionaryCompressor(const Params *p)
Derived & desc(const std::string &_desc)
Set the description and marks this stat to print at the end of simulation.