gem5  v22.0.0.2
Public Member Functions | Public Attributes | List of all members
gem5::DistIface::RecvScheduler::Desc Struct Reference

Received packet descriptor. More...

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

Public Member Functions

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

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. More...
static void generateCheckpointOut (const std::string &cpt_dir, std::ofstream &outstream)
 Generate a checkpoint file so that the serialization can be routed to it. More...

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 ( )

Definition at line 347 of file dist_iface.hh.

◆ Desc() [2/3]

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

Definition at line 348 of file dist_iface.hh.

◆ Desc() [3/3]

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

Definition at line 350 of file dist_iface.hh.

Member Function Documentation

◆ serialize()

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

Serialize an object.

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

cpCheckpoint state

Implements gem5::Serializable.

Definition at line 554 of file


◆ unserialize()

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

Unserialize an object.

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

cpCheckpoint state

Implements gem5::Serializable.

Definition at line 562 of file


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.

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

Generated on Thu Jul 28 2022 13:33:00 for gem5 by doxygen 1.8.17