gem5 v24.0.0.0
Loading...
Searching...
No Matches
SerializableFixture Class Reference

A fixture to handle checkpoint in and out variables, as well as the testing of the temporary directory. More...

Inheritance diagram for SerializableFixture:
gem5::SerializationFixture

Public Member Functions

void SetUp () override
 
void TearDown () override
 
- Public Member Functions inherited from gem5::SerializationFixture
std::string getDirName () const
 Get the name of the directory we have created on SetUp.
 
std::string getCptPath () const
 Get the path to the checkpoint file.
 
void simulateSerialization (std::string contents) const
 Create a cpt file with the contents specified by the string.
 
void SetUp () override
 
void TearDown () override
 

Public Attributes

std::unique_ptr< CheckpointIncpt_in
 
std::unique_ptr< std::ofstream > cpt_out
 

Additional Inherited Members

- Static Public Member Functions inherited from gem5::SerializationFixture
static std::string generateTempDirName ()
 Generate a temporary directory name.
 

Detailed Description

A fixture to handle checkpoint in and out variables, as well as the testing of the temporary directory.

Definition at line 116 of file serialize.test.cc.

Member Function Documentation

◆ SetUp()

void SerializableFixture::SetUp ( )
inlineoverride

◆ TearDown()

void SerializableFixture::TearDown ( )
inlineoverride

Member Data Documentation

◆ cpt_in

std::unique_ptr<CheckpointIn> SerializableFixture::cpt_in

Definition at line 119 of file serialize.test.cc.

Referenced by SetUp().

◆ cpt_out

std::unique_ptr<std::ofstream> SerializableFixture::cpt_out

Definition at line 120 of file serialize.test.cc.

Referenced by SetUp().


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

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