Go to the documentation of this file.
37 #include "debug/CacheComp.hh"
39 #include "params/RepeatedQwordsCompressor.hh"
59 std::unique_ptr<Base::CompressionData>
63 std::unique_ptr<Base::CompressionData> comp_data =
70 comp_data->setSizeBits(
blkSize * 8);
71 DPRINTF(CacheComp,
"Repeated qwords compression failed\n");
const std::size_t dictionarySize
Dictionary size.
A template version of the dictionary compressor that allows to choose the dictionary size.
std::vector< DictionaryEntry > dictionary
The dictionary.
BaseCacheCompressorParams Params
const std::size_t blkSize
Uncompressed cache line size (in bytes).
std::unique_ptr< Base::CompressionData > compress(const std::vector< Chunk > &chunks)
Apply compression.
void addToDictionary(DictionaryEntry data) override
Cycles is a wrapper class for representing cycle counts, i.e.
DictionaryCompressor< uint64_t >::DictionaryEntry DictionaryEntry
RepeatedQwords(const Params &p)
std::size_t numEntries
Number of valid entries in the dictionary.
std::unique_ptr< Base::CompressionData > compress(const std::vector< Base::Chunk > &chunks, Cycles &comp_lat, Cycles &decomp_lat) override
Apply the compression process to the cache line.
Reference material can be found at the JEDEC website: UFS standard http://www.jedec....
Generated on Sun Jul 30 2023 01:56:57 for gem5 by doxygen 1.8.17