gem5
v21.2.1.1
|
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 |
![]() | |
std::string | getDirName () const |
Get the name of the directory we have created on SetUp. More... | |
std::string | getCptPath () const |
Get the path to the checkpoint file. More... | |
void | simulateSerialization (std::string contents) const |
Create a cpt file with the contents specified by the string. More... | |
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 std::string | generateTempDirName () |
Generate a temporary directory name. More... | |
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 gem5::SerializationFixture::SetUp().
|
inlineoverride |
Definition at line 135 of file serialize.test.cc.
References gem5::SerializationFixture::TearDown().
std::unique_ptr<CheckpointIn> SerializableFixture::cpt_in |
Definition at line 119 of file serialize.test.cc.
std::unique_ptr<std::ofstream> SerializableFixture::cpt_out |
Definition at line 120 of file serialize.test.cc.