gem5 v24.0.0.0
Loading...
Searching...
No Matches
gem5::compression::Perfect::CompData Class Reference

#include <perfect.hh>

Inheritance diagram for gem5::compression::Perfect::CompData:
gem5::compression::Base::CompressionData

Public Member Functions

 CompData (const std::vector< Chunk > &chunks)
 Default constructor that creates a copy of the original data.
 
 ~CompData ()=default
 
- 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< Chunkchunks
 The original data is simply copied over to this vector.
 

Detailed Description

Definition at line 78 of file perfect.hh.

Constructor & Destructor Documentation

◆ CompData()

gem5::compression::Perfect::CompData::CompData ( const std::vector< Chunk > & chunks)
inline

Default constructor that creates a copy of the original data.

Parameters
chunksThe data to be compressed.

Definition at line 89 of file perfect.hh.

◆ ~CompData()

gem5::compression::Perfect::CompData::~CompData ( )
default

Member Data Documentation

◆ chunks

std::vector<Chunk> gem5::compression::Perfect::CompData::chunks

The original data is simply copied over to this vector.

Definition at line 82 of file perfect.hh.


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

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