gem5 v24.0.0.0
|
#include <serialize.hh>
Public Member Functions | |
CheckpointIn (const std::string &cpt_dir) | |
~CheckpointIn ()=default | |
const std::string | getCptDir () |
bool | find (const std::string §ion, const std::string &entry, std::string &value) |
bool | entryExists (const std::string §ion, const std::string &entry) |
bool | sectionExists (const std::string §ion) |
void | visitSection (const std::string §ion, IniFile::VisitSectionCallback cb) |
Static Public Member Functions | |
static std::string | setDir (const std::string &base_name) |
Set the current directory. | |
static std::string | dir () |
Get the current checkout directory name. | |
Static Public Attributes | |
static const char * | baseFilename = "m5.cpt" |
Private Attributes | |
IniFile | db |
const std::string | _cptDir |
Static Private Attributes | |
static std::string | currentDirectory |
Definition at line 68 of file serialize.hh.
gem5::CheckpointIn::CheckpointIn | ( | const std::string & | cpt_dir | ) |
Definition at line 162 of file serialize.cc.
References baseFilename, db, fatal, getCptDir(), and gem5::IniFile::load().
|
default |
|
private |
Definition at line 73 of file serialize.hh.
Referenced by getCptDir().
|
static |
Definition at line 132 of file serialize.hh.
Referenced by CheckpointIn(), gem5::Serializable::generateCheckpointOut(), and gem5::SerializationFixture::getCptPath().
|
staticprivate |
Definition at line 105 of file serialize.hh.
|
private |
Definition at line 71 of file serialize.hh.
Referenced by CheckpointIn(), entryExists(), find(), sectionExists(), and visitSection().