gem5  v22.0.0.1
Public Member Functions | Protected Attributes | List of all members
gem5::compression::FPC::FPCCompData Class Reference

#include <fpc.hh>

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

Public Member Functions

 FPCCompData (int zeroRunSizeBits)
 ~FPCCompData ()=default
void addEntry (std::unique_ptr< Pattern > pattern) override
- Public Member Functions inherited from gem5::compression::DictionaryCompressor< T >::CompData
 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...

Protected Attributes

const int zeroRunSizeBits
 Number of bits of the zero run size bitfield. More...

Additional Inherited Members

- Public Attributes inherited from gem5::compression::DictionaryCompressor< T >::CompData
std::vector< std::unique_ptr< Pattern > > entries
 The patterns matched in the original line. More...

Detailed Description

Definition at line 138 of file fpc.hh.

Constructor & Destructor Documentation

◆ FPCCompData()

gem5::compression::FPC::FPCCompData::FPCCompData ( int  zeroRunSizeBits)

Definition at line 41 of file

◆ ~FPCCompData()

gem5::compression::FPC::FPCCompData::~FPCCompData ( )

Member Function Documentation

◆ addEntry()

void gem5::compression::FPC::FPCCompData::addEntry ( std::unique_ptr< Pattern >  pattern)

Member Data Documentation

◆ zeroRunSizeBits

const int gem5::compression::FPC::FPCCompData::zeroRunSizeBits

Number of bits of the zero run size bitfield.

If the size of the zero run reaches the maximum value, it is split into ZERO_RUN entries.

Definition at line 145 of file fpc.hh.

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

Generated on Sat Jun 18 2022 08:13:41 for gem5 by doxygen 1.8.17