gem5  v20.1.0.0
Classes | Functions | Variables
serialize.cc File Reference
#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 *&param)
 
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...
 

Function Documentation

◆ debug_serialize()

void debug_serialize ( const string &  cpt_dir)

Definition at line 349 of file serialize.cc.

References Serializable::serializeAll().

◆ objParamIn()

void objParamIn ( CheckpointIn cp,
const string &  name,
SimObject *&  param 
)

Definition at line 340 of file serialize.cc.

References Serializable::currentSection(), fatal, and name().

Variable Documentation

◆ ckptCount

int ckptCount = 0

Definition at line 70 of file serialize.cc.

◆ ckptMaxCount

int ckptMaxCount = 0

Definition at line 69 of file serialize.cc.

◆ ckptPrevCount

int ckptPrevCount = -1

Definition at line 71 of file serialize.cc.

◆ globals

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().

◆ version_tags

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().


Generated on Wed Sep 30 2020 14:02:19 for gem5 by doxygen 1.8.17