gem5 v24.0.0.0
|
#include <multi.hh>
Public Member Functions | |
MultiCompData (unsigned index, std::unique_ptr< Base::CompressionData > comp_data) | |
Default constructor. | |
~MultiCompData ()=default | |
Default destructor. | |
uint8_t | getIndex () const |
Get the index of the best compressor. | |
Public Member Functions inherited from gem5::compression::Base::CompressionData | |
CompressionData () | |
Default constructor. | |
virtual | ~CompressionData () |
Virtual destructor. | |
void | setSizeBits (std::size_t size) |
Set compression size (in bits). | |
std::size_t | getSizeBits () const |
Get compression size (in bits). | |
std::size_t | getSize () const |
Get compression size (in bytes). | |
Public Attributes | |
std::unique_ptr< Base::CompressionData > | compData |
Compression data of the best compressor. | |
Private Attributes | |
const uint8_t | index |
Index of the compressor that provided these compression results. | |
gem5::compression::Multi::MultiCompData::MultiCompData | ( | unsigned | index, |
std::unique_ptr< Base::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 51 of file multi.cc.
References compData, and gem5::compression::Base::CompressionData::setSizeBits().
|
default |
Default destructor.
uint8_t gem5::compression::Multi::MultiCompData::getIndex | ( | ) | const |
Get the index of the best compressor.
Definition at line 59 of file multi.cc.
References gem5::MipsISA::index.
Referenced by gem5::compression::Multi::decompress().
std::unique_ptr<Base::CompressionData> gem5::compression::Multi::MultiCompData::compData |
Compression data of the best compressor.
Definition at line 125 of file multi.hh.
Referenced by gem5::compression::Multi::decompress(), and MultiCompData().
|
private |