gem5 v24.0.0.0
Loading...
Searching...
No Matches
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.
 
- 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).
 

Protected Attributes

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

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.
 

Detailed Description

Definition at line 137 of file fpc.hh.

Constructor & Destructor Documentation

◆ FPCCompData()

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

Definition at line 40 of file fpc.cc.

◆ ~FPCCompData()

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

Member Function Documentation

◆ addEntry()

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

Member Data Documentation

◆ zeroRunSizeBits

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

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 144 of file fpc.hh.


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