gem5 v24.0.0.0
|
A fixture to handle checkpoint in and out variables, as well as the testing of the temporary directory. More...
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< CheckpointIn > | cpt_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. | |
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.
|
inlineoverride |
Definition at line 125 of file serialize.test.cc.
References cpt_in, cpt_out, gem5::SerializationFixture::getCptPath(), gem5::SerializationFixture::getDirName(), and gem5::SerializationFixture::SetUp().
|
inlineoverride |
Definition at line 135 of file serialize.test.cc.
References gem5::SerializationFixture::getCptPath(), and gem5::SerializationFixture::TearDown().
std::unique_ptr<CheckpointIn> SerializableFixture::cpt_in |
Definition at line 119 of file serialize.test.cc.
Referenced by SetUp().
std::unique_ptr<std::ofstream> SerializableFixture::cpt_out |
Definition at line 120 of file serialize.test.cc.
Referenced by SetUp().