gem5 v24.0.0.0
Loading...
Searching...
No Matches
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.
 
- 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::vector< std::unique_ptr< Pattern > > entries
 The patterns matched in the original line.
 

Detailed Description

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

Definition at line 392 of file dictionary_compressor.hh.

Constructor & Destructor Documentation

◆ CompData()

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

Definition at line 50 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 57 of file dictionary_compressor_impl.hh.

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

Referenced by gem5::compression::DictionaryCompressor< T >::compress().

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 396 of file dictionary_compressor.hh.

Referenced by gem5::compression::DictionaryCompressor< T >::decompress().


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

Generated on Tue Jun 18 2024 16:24:18 for gem5 by doxygen 1.11.0