|
gem5
v20.1.0.5
|
#include <multi.hh>
Public Member Functions | |
| MultiCompData (unsigned index, std::unique_ptr< Base::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 Compressor::Base::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< Base::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... | |
| Compressor::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 47 of file multi.cc.
References compData, and Compressor::Base::CompressionData::setSizeBits().
|
default |
Default destructor.
| uint8_t Compressor::Multi::MultiCompData::getIndex | ( | ) | const |
Get the index of the best compressor.
Definition at line 55 of file multi.cc.
References MipsISA::index.
Referenced by Compressor::Multi::decompress().
| std::unique_ptr<Base::CompressionData> Compressor::Multi::MultiCompData::compData |
Compression data of the best compressor.
Definition at line 119 of file multi.hh.
Referenced by Compressor::Multi::decompress(), and MultiCompData().
|
private |