gem5 v25.0.0.1
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

Detailed Description

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

Definition at line 117 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 120 of file serialize.test.cc.

Referenced by SetUp().

◆ cpt_out

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

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

Referenced by SetUp().


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

Generated on Sat Oct 18 2025 08:06:48 for gem5 by doxygen 1.14.0