Go to the documentation of this file.
36 #include "params/FPCD.hh"
57 std::unique_ptr<Base::CompressionData>
61 std::unique_ptr<Base::CompressionData> comp_data =
void addToDictionary(DictionaryEntry data) override
const std::size_t blkSize
Uncompressed cache line size (in bytes).
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.
std::unique_ptr< Base::CompressionData > compress(const std::vector< Chunk > &chunks)
Apply compression.
std::size_t numEntries
Number of valid entries in the dictionary.
static constexpr int penultimateIndex
Index of the penultimate dictionary entry.
A template version of the dictionary compressor that allows to choose the dictionary size.
BaseCacheCompressorParams Params
DictionaryCompressor< uint32_t >::DictionaryEntry DictionaryEntry
static constexpr int previousIndex
Index of the previous dictionary entry.
Cycles is a wrapper class for representing cycle counts, i.e.
std::vector< DictionaryEntry > dictionary
The dictionary.
Generated on Wed Sep 30 2020 14:02:12 for gem5 by doxygen 1.8.17