|
gem5
v19.0.0.0
|
#include <multi.hh>
Public Member Functions | |
| MultiCompData (unsigned index, std::unique_ptr< BaseCacheCompressor::CompressionData > comp_data) | |
| Default constructor. More... | |
| ~MultiCompData ()=default | |
| Default destructor. More... | |
| uint8_t | getIndex () const |
| Get the index of the best compressor. More... | |
Public Member Functions inherited from BaseCacheCompressor::CompressionData | |
| CompressionData () | |
| Default constructor. More... | |
| virtual | ~CompressionData () |
| Virtual destructor. More... | |
| void | setSizeBits (std::size_t size) |
| Set compression size (in bits). More... | |
| std::size_t | getSizeBits () const |
| Get compression size (in bits). More... | |
| std::size_t | getSize () const |
| Get compression size (in bytes). More... | |
Public Attributes | |
| std::unique_ptr< BaseCacheCompressor::CompressionData > | compData |
| Compression data of the best compressor. More... | |
Private Attributes | |
| const uint8_t | index |
| Index of the compressor that provided these compression results. More... | |
| MultiCompressor::MultiCompData::MultiCompData | ( | unsigned | index, |
| std::unique_ptr< BaseCacheCompressor::CompressionData > | comp_data | ||
| ) |
Default constructor.
| index | Index of the compressor that provided this compression. |
| comp_data | Compression data of the best compressor. |
Definition at line 45 of file multi.cc.
References compData, and BaseCacheCompressor::CompressionData::setSizeBits().
|
default |
Default destructor.
| uint8_t MultiCompressor::MultiCompData::getIndex | ( | ) | const |
Get the index of the best compressor.
Definition at line 53 of file multi.cc.
References index.
Referenced by MultiCompressor::decompress().
| std::unique_ptr<BaseCacheCompressor::CompressionData> MultiCompressor::MultiCompData::compData |
Compression data of the best compressor.
Definition at line 98 of file multi.hh.
Referenced by MultiCompressor::decompress(), and MultiCompData().
|
private |
Index of the compressor that provided these compression results.
Definition at line 94 of file multi.hh.
Referenced by getIndex().