gem5  v21.2.1.1
Public Member Functions | Public Attributes | List of all members
gem5::compression::DictionaryCompressor< T >::CompData Class Reference

#include <dictionary_compressor.hh>

Inheritance diagram for gem5::compression::DictionaryCompressor< T >::CompData:
gem5::compression::Base::CompressionData gem5::compression::FPC::FPCCompData

Public Member Functions

 CompData ()
 
 ~CompData ()=default
 
virtual void addEntry (std::unique_ptr< Pattern >)
 Add a pattern entry to the list of patterns. More...
 
- Public Member Functions inherited from gem5::compression::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::vector< std::unique_ptr< Pattern > > entries
 The patterns matched in the original line. More...
 

Detailed Description

template<class T>
class gem5::compression::DictionaryCompressor< T >::CompData

Definition at line 393 of file dictionary_compressor.hh.

Constructor & Destructor Documentation

◆ CompData()

template<class T >
gem5::compression::DictionaryCompressor< T >::CompData::CompData

Definition at line 51 of file dictionary_compressor_impl.hh.

◆ ~CompData()

template<class T >
gem5::compression::DictionaryCompressor< T >::CompData::~CompData ( )
default

Member Function Documentation

◆ addEntry()

template<class T >
void gem5::compression::DictionaryCompressor< T >::CompData::addEntry ( std::unique_ptr< Pattern pattern)
virtual

Add a pattern entry to the list of patterns.

Parameters
entryThe new pattern entry.

Definition at line 58 of file dictionary_compressor_impl.hh.

References gem5::compression::Base::setSizeBits().

Member Data Documentation

◆ entries

template<class T >
std::vector<std::unique_ptr<Pattern> > gem5::compression::DictionaryCompressor< T >::CompData::entries

The patterns matched in the original line.

Definition at line 397 of file dictionary_compressor.hh.


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

Generated on Wed May 4 2022 12:15:02 for gem5 by doxygen 1.8.17