|
gem5
v21.0.1.0
|
#include "sim/serialize.hh"#include <sys/stat.h>#include <sys/time.h>#include <sys/types.h>#include <cerrno>#include <fstream>#include <list>#include <set>#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 std::string &name, SimObject *¶m) |
| void | debug_serialize (const std::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 std::string & | cpt_dir | ) |
Definition at line 357 of file serialize.cc.
References Serializable::serializeAll().
| int ckptCount = 0 |
Definition at line 69 of file serialize.cc.
| int ckptMaxCount = 0 |
Definition at line 68 of file serialize.cc.
| int ckptPrevCount = -1 |
Definition at line 70 of file serialize.cc.
| Globals globals |
The one and only instance of the Globals class.
Definition at line 90 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().