gem5 v24.0.0.0
|
#include <etherswitch.hh>
Public Member Functions | |
PortFifoEntry (EthPacketPtr pkt, Tick recv_tick, unsigned id) | |
~PortFifoEntry () | |
void | serialize (CheckpointOut &cp) const |
Serialize an object. | |
void | unserialize (CheckpointIn &cp) |
Unserialize an object. | |
Public Member Functions inherited from gem5::Serializable | |
Serializable () | |
virtual | ~Serializable () |
void | serializeSection (CheckpointOut &cp, const char *name) const |
Serialize an object into a new section. | |
void | serializeSection (CheckpointOut &cp, const std::string &name) const |
void | unserializeSection (CheckpointIn &cp, const char *name) |
Unserialize an a child object. | |
void | unserializeSection (CheckpointIn &cp, const std::string &name) |
Public Attributes | |
EthPacketPtr | packet |
Tick | recvTick |
unsigned | srcId |
Additional Inherited Members | |
Static Public Member Functions inherited from gem5::Serializable | |
static const std::string & | currentSection () |
Gets the fully-qualified name of the active section. | |
static void | generateCheckpointOut (const std::string &cpt_dir, std::ofstream &outstream) |
Generate a checkpoint file so that the serialization can be routed to it. | |
Definition at line 101 of file etherswitch.hh.
|
inline |
Definition at line 103 of file etherswitch.hh.
|
inline |
Definition at line 110 of file etherswitch.hh.
|
virtual |
Serialize an object.
Output an object's state into the current checkpoint section.
cp | Checkpoint state |
Implements gem5::Serializable.
Definition at line 303 of file etherswitch.cc.
References SERIALIZE_SCALAR.
|
virtual |
Unserialize an object.
Read an object's state from the current checkpoint section.
cp | Checkpoint state |
Implements gem5::Serializable.
Definition at line 311 of file etherswitch.cc.
References UNSERIALIZE_SCALAR.
EthPacketPtr gem5::EtherSwitch::Interface::PortFifoEntry::packet |
Definition at line 106 of file etherswitch.hh.
Referenced by ~PortFifoEntry().
Tick gem5::EtherSwitch::Interface::PortFifoEntry::recvTick |
Definition at line 107 of file etherswitch.hh.
Referenced by gem5::EtherSwitch::Interface::PortFifo::EntryOrder::operator()(), and ~PortFifoEntry().
unsigned gem5::EtherSwitch::Interface::PortFifoEntry::srcId |
Definition at line 109 of file etherswitch.hh.
Referenced by gem5::EtherSwitch::Interface::PortFifo::EntryOrder::operator()(), and ~PortFifoEntry().