gem5 v24.0.0.0
Loading...
Searching...
No Matches
gem5::DistIface::RecvScheduler::Desc Struct Reference

Received packet descriptor. More...

Inheritance diagram for gem5::DistIface::RecvScheduler::Desc:
gem5::Serializable

Public Member Functions

 Desc ()
 
 Desc (EthPacketPtr p, Tick s, Tick d)
 
 Desc (const Desc &d)
 
void serialize (CheckpointOut &cp) const override
 Serialize an object.
 
void unserialize (CheckpointIn &cp) override
 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 sendTick
 
Tick sendDelay
 

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.
 

Detailed Description

Received packet descriptor.

This information is used by the receive thread to schedule receive events and by the simulation thread to process those events.

Definition at line 341 of file dist_iface.hh.

Constructor & Destructor Documentation

◆ Desc() [1/3]

gem5::DistIface::RecvScheduler::Desc::Desc ( )
inline

Definition at line 347 of file dist_iface.hh.

◆ Desc() [2/3]

gem5::DistIface::RecvScheduler::Desc::Desc ( EthPacketPtr p,
Tick s,
Tick d )
inline

Definition at line 348 of file dist_iface.hh.

◆ Desc() [3/3]

gem5::DistIface::RecvScheduler::Desc::Desc ( const Desc & d)
inline

Definition at line 350 of file dist_iface.hh.

Member Function Documentation

◆ serialize()

void gem5::DistIface::RecvScheduler::Desc::serialize ( CheckpointOut & cp) const
overridevirtual

Serialize an object.

Output an object's state into the current checkpoint section.

Parameters
cpCheckpoint state

Implements gem5::Serializable.

Definition at line 554 of file dist_iface.cc.

References SERIALIZE_SCALAR.

◆ unserialize()

void gem5::DistIface::RecvScheduler::Desc::unserialize ( CheckpointIn & cp)
overridevirtual

Unserialize an object.

Read an object's state from the current checkpoint section.

Parameters
cpCheckpoint state

Implements gem5::Serializable.

Definition at line 562 of file dist_iface.cc.

References UNSERIALIZE_SCALAR.

Member Data Documentation

◆ packet

EthPacketPtr gem5::DistIface::RecvScheduler::Desc::packet

Definition at line 343 of file dist_iface.hh.

◆ sendDelay

Tick gem5::DistIface::RecvScheduler::Desc::sendDelay

Definition at line 345 of file dist_iface.hh.

◆ sendTick

Tick gem5::DistIface::RecvScheduler::Desc::sendTick

Definition at line 344 of file dist_iface.hh.

Referenced by gem5::DistIface::RecvScheduler::resumeRecvTicks().


The documentation for this struct was generated from the following files:

Generated on Tue Jun 18 2024 16:24:10 for gem5 by doxygen 1.11.0