gem5
|
#include <serialize.hh>
Public Member Functions | |
CheckpointIn (const std::string &cpt_dir, SimObjectResolver &resolver) | |
~CheckpointIn () | |
bool | find (const std::string §ion, const std::string &entry, std::string &value) |
bool | findObj (const std::string §ion, const std::string &entry, SimObject *&value) |
bool | entryExists (const std::string §ion, const std::string &entry) |
bool | sectionExists (const std::string §ion) |
Static Public Member Functions | |
static std::string | setDir (const std::string &base_name) |
static std::string | dir () |
Public Attributes | |
const std::string | cptDir |
Static Public Attributes | |
static const char * | baseFilename = "m5.cpt" |
Private Attributes | |
IniFile * | db |
SimObjectResolver & | objNameResolver |
Static Private Attributes | |
static std::string | currentDirectory |
Definition at line 340 of file serialize.hh.
CheckpointIn::CheckpointIn | ( | const std::string & | cpt_dir, |
SimObjectResolver & | resolver | ||
) |
Definition at line 682 of file serialize.cc.
References baseFilename, cptDir, db, fatal, and IniFile::load().
CheckpointIn::~CheckpointIn | ( | ) |
Definition at line 691 of file serialize.cc.
References db.
|
static |
Definition at line 676 of file serialize.cc.
Referenced by CowDiskImage::serialize(), PhysicalMemory::serializeStore(), and RubySystem::writeCompressedTrace().
bool CheckpointIn::entryExists | ( | const std::string & | section, |
const std::string & | entry | ||
) |
Definition at line 697 of file serialize.cc.
References db, and IniFile::entryExists().
Referenced by Pl390::unserialize().
bool CheckpointIn::find | ( | const std::string & | section, |
const std::string & | entry, | ||
std::string & | value | ||
) |
Definition at line 703 of file serialize.cc.
References db, and IniFile::find().
Referenced by arrayParamIn(), optParamIn(), paramIn(), and Globals::unserialize().
bool CheckpointIn::findObj | ( | const std::string & | section, |
const std::string & | entry, | ||
SimObject *& | value | ||
) |
Definition at line 710 of file serialize.cc.
References db, IniFile::find(), objNameResolver, and SimObjectResolver::resolveSimObject().
Referenced by objParamIn().
bool CheckpointIn::sectionExists | ( | const std::string & | section | ) |
Definition at line 724 of file serialize.cc.
References db, and IniFile::sectionExists().
Referenced by SimObject::loadState(), HDLcd::unserialize(), and Pl390::unserialize().
|
static |
Definition at line 664 of file serialize.cc.
References csprintf(), and curTick().
Referenced by Serializable::serializeAll().
|
static |
Definition at line 388 of file serialize.hh.
Referenced by CheckpointIn(), and Serializable::serializeAll().
const std::string CheckpointIn::cptDir |
Definition at line 352 of file serialize.hh.
Referenced by CheckpointIn(), RubySystem::unserialize(), CowDiskImage::unserialize(), and PhysicalMemory::unserializeStore().
|
staticprivate |
Definition at line 373 of file serialize.hh.
|
private |
Definition at line 344 of file serialize.hh.
Referenced by CheckpointIn(), entryExists(), find(), findObj(), sectionExists(), and ~CheckpointIn().
|
private |
Definition at line 346 of file serialize.hh.
Referenced by findObj().