|
gem5
v19.0.0.0
|
#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... | |
Public Member Functions inherited from Serializable | |
| 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 Public Member Functions inherited from Serializable | |
| static const std::string & | currentSection () |
| Get the fully-qualified name of the active section. More... | |
| static void | serializeAll (const std::string &cpt_dir) |
| static void | unserializeGlobals (CheckpointIn &cp) |
Static Public Attributes inherited from Serializable | |
| static int | ckptCount = 0 |
| static int | ckptMaxCount = 0 |
| static int | ckptPrevCount = -1 |
Definition at line 43 of file kernel_stats.hh.
|
inlinevirtual |
Definition at line 53 of file kernel_stats.hh.
|
inline |
Definition at line 59 of file kernel_stats.hh.
Referenced by PseudoInst::arm().
|
inline |
Definition at line 55 of file kernel_stats.hh.
References myname, and regStats().
Referenced by AlphaISA::Kernel::Statistics::Statistics().
|
inline |
Definition at line 60 of file kernel_stats.hh.
Referenced by ThreadContext::quiesce(), ThreadContext::quiesceTick(), and SparcISA::ISA::setFSReg().
|
virtual |
Reimplemented in AlphaISA::Kernel::Statistics.
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 63 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 64 of file kernel_stats.hh.
Referenced by ThreadState::unserialize().
|
protected |
Definition at line 49 of file kernel_stats.hh.
|
protected |
Definition at line 50 of file kernel_stats.hh.
|
protected |
Definition at line 46 of file kernel_stats.hh.
Referenced by name().