|
gem5
v20.1.0.5
|
#include "sim/serialize.hh"#include <sys/stat.h>#include <sys/time.h>#include <sys/types.h>#include <cerrno>#include <fstream>#include <list>#include <string>#include <vector>#include "base/inifile.hh"#include "base/output.hh"#include "base/trace.hh"#include "debug/Checkpoint.hh"#include "sim/eventq.hh"#include "sim/sim_events.hh"#include "sim/sim_exit.hh"#include "sim/sim_object.hh"#include "sim/stat_control.hh"Go to the source code of this file.
Classes | |
| class | Globals |
| Container for serializing global variables (not associated with any serialized object). More... | |
Functions | |
| void | objParamIn (CheckpointIn &cp, const string &name, SimObject *¶m) |
| void | debug_serialize (const string &cpt_dir) |
Variables | |
| int | ckptMaxCount = 0 |
| int | ckptCount = 0 |
| int | ckptPrevCount = -1 |
| Globals | globals |
| The one and only instance of the Globals class. More... | |
| std::set< std::string > | version_tags |
| The version tags for this build of the simulator, to be stored in the Globals section during serialization and compared upon unserialization. More... | |
| void debug_serialize | ( | const string & | cpt_dir | ) |
Definition at line 349 of file serialize.cc.
References Serializable::serializeAll().
| void objParamIn | ( | CheckpointIn & | cp, |
| const string & | name, | ||
| SimObject *& | param | ||
| ) |
Definition at line 340 of file serialize.cc.
References Serializable::currentSection(), fatal, and name().
| int ckptCount = 0 |
Definition at line 70 of file serialize.cc.
| int ckptMaxCount = 0 |
Definition at line 69 of file serialize.cc.
| int ckptPrevCount = -1 |
Definition at line 71 of file serialize.cc.
| Globals globals |
The one and only instance of the Globals class.
Definition at line 91 of file serialize.cc.
Referenced by main(), py_interact(), Serializable::serializeAll(), and Serializable::unserializeGlobals().
| std::set<std::string> version_tags |
The version tags for this build of the simulator, to be stored in the Globals section during serialization and compared upon unserialization.
Referenced by Globals::serialize(), and Globals::unserialize().