gem5
v20.0.0.2
|
#include <kernel_stats.hh>
Public Member Functions | |
virtual | ~Statistics () |
const std::string | name () const |
virtual void | regStats (const std::string &name) |
void | arm () |
void | quiesce () |
void | serialize (CheckpointOut &cp) const override |
Serialize an object. More... | |
void | unserialize (CheckpointIn &cp) override |
Unserialize an object. More... | |
![]() | |
Serializable () | |
virtual | ~Serializable () |
void | serializeSection (CheckpointOut &cp, const char *name) const |
Serialize an object into a new section. More... | |
void | serializeSection (CheckpointOut &cp, const std::string &name) const |
void | unserializeSection (CheckpointIn &cp, const char *name) |
Unserialize an a child object. More... | |
void | unserializeSection (CheckpointIn &cp, const std::string &name) |
Protected Attributes | |
std::string | myname |
Stats::Scalar | _arm |
Stats::Scalar | _quiesce |
Additional Inherited Members | |
![]() | |
static const std::string & | currentSection () |
Gets the fully-qualified name of the active section. More... | |
static void | serializeAll (const std::string &cpt_dir) |
static void | unserializeGlobals (CheckpointIn &cp) |
Definition at line 40 of file kernel_stats.hh.
|
inlinevirtual |
Definition at line 50 of file kernel_stats.hh.
|
inline |
Definition at line 56 of file kernel_stats.hh.
Referenced by PseudoInst::arm().
|
inline |
Definition at line 52 of file kernel_stats.hh.
References myname, and regStats().
|
inline |
Definition at line 57 of file kernel_stats.hh.
Referenced by ThreadContext::quiesce(), ThreadContext::quiesceTick(), and SparcISA::ISA::setFSReg().
|
virtual |
Definition at line 42 of file kernel_stats.cc.
References name().
Referenced by name(), and SimpleThread::regStats().
|
inlineoverridevirtual |
Serialize an object.
Output an object's state into the current checkpoint section.
cp | Checkpoint state |
Implements Serializable.
Definition at line 60 of file kernel_stats.hh.
Referenced by ThreadState::serialize().
|
inlineoverridevirtual |
Unserialize an object.
Read an object's state from the current checkpoint section.
cp | Checkpoint state |
Implements Serializable.
Definition at line 61 of file kernel_stats.hh.
Referenced by ThreadState::unserialize().
|
protected |
Definition at line 46 of file kernel_stats.hh.
|
protected |
Definition at line 47 of file kernel_stats.hh.
|
protected |
Definition at line 43 of file kernel_stats.hh.
Referenced by name().