38 #include "debug/Checkpoint.hh"
82 DPRINTF(Checkpoint,
"unserializing\n");
87 DPRINTF(Checkpoint,
"no checkpoint section found\n");
145 for (; ri != rend; ++ri) {
159 SimObject::debugObjectBreak(
const string &objs)
165 for (; i != end; ++
i) {
167 obj->doDebugBreak = match.match(obj->
name());
172 debugObjectBreak(
const char *objs)
174 SimObject::debugObjectBreak(
string(objs));
184 for (; i != end; ++
i) {
EventQueue * getEventQueue(uint32_t index)
Function for returning eventq queue for the provided index.
virtual void resetStats()
Reset statistics associated with this object.
const std::string & name()
void unserializeSection(CheckpointIn &cp, const char *name)
Unserialize an a child object.
static void serializeAll(CheckpointOut &cp)
Serialize all SimObjects in the system.
ProbeManager is a conduit class that lives on each SimObject, and is used to match up probe listeners...
virtual void regStats()
Register statistics for this object.
virtual void init()
init() is called after all C++ SimObjects have been created and all ports are connected.
static SimObjectList simObjectList
List of all instantiated simulation objects.
void serializeSection(CheckpointOut &cp, const char *name) const
Serialize an object into a new section.
ProbeManager * probeManager
Manager coordinates hooking up probe points with listeners.
SimObject(const Params *_params)
virtual void regProbePoints()
Register probe points for this object.
virtual void regProbeListeners()
Register probe listeners for this object.
static SimObject * find(const char *name)
Find the SimObject with the given name and return a pointer to it.
virtual const std::string name() const
std::ostream CheckpointOut
bool sectionExists(const std::string §ion)
ProbeManager * getProbeManager()
Get the probe manager for this object.
virtual void initState()
initState() is called on each SimObject when not restoring from a checkpoint.
Abstract superclass for simulation objects.
virtual void loadState(CheckpointIn &cp)
loadState() is called on each SimObject when restoring from a checkpoint.
virtual void startup()
startup() is the final initialization call before simulation.