gem5  v21.1.0.2
Public Member Functions | Public Attributes | Private Attributes | List of all members
gem5::compression::Multi::MultiCompData Class Reference

#include <multi.hh>

Inheritance diagram for gem5::compression::Multi::MultiCompData:

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 Attributes

std::unique_ptr< Base::CompressionDatacompData
 Compression data of the best compressor. More...
 

Private Attributes

const uint8_t index
 Index of the compressor that provided these compression results. More...
 

Detailed Description

Definition at line 118 of file multi.hh.

Constructor & Destructor Documentation

◆ MultiCompData()

gem5::compression::Multi::MultiCompData::MultiCompData ( unsigned  index,
std::unique_ptr< Base::CompressionData comp_data 
)

Default constructor.

Parameters
indexIndex of the compressor that provided this compression.
comp_dataCompression data of the best compressor.

Definition at line 52 of file multi.cc.

References compData, and gem5::compression::Base::setSizeBits().

◆ ~MultiCompData()

gem5::compression::Multi::MultiCompData::~MultiCompData ( )
default

Default destructor.

Member Function Documentation

◆ getIndex()

uint8_t gem5::compression::Multi::MultiCompData::getIndex ( ) const

Get the index of the best compressor.

Definition at line 60 of file multi.cc.

References gem5::MipsISA::index.

Referenced by gem5::compression::Multi::decompress().

Member Data Documentation

◆ compData

std::unique_ptr<Base::CompressionData> gem5::compression::Multi::MultiCompData::compData

Compression data of the best compressor.

Definition at line 126 of file multi.hh.

Referenced by gem5::compression::Multi::decompress(), and MultiCompData().

◆ index

const uint8_t gem5::compression::Multi::MultiCompData::index
private

Index of the compressor that provided these compression results.

Definition at line 122 of file multi.hh.


The documentation for this class was generated from the following files:

Generated on Tue Sep 21 2021 12:28:59 for gem5 by doxygen 1.8.17