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

Received packet descriptor. More...

Inheritance diagram for DistIface::RecvScheduler::Desc:
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. 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)
 

Public Attributes

EthPacketPtr packet
 
Tick sendTick
 
Tick sendDelay
 

Additional Inherited Members

- Static Public Member Functions inherited from Serializable
static const std::string & currentSection ()
 Gets the fully-qualified name of the active section. More...
 
static void serializeAll (const std::string &cpt_dir)
 Serializes all the SimObjects. More...
 
static void unserializeGlobals (CheckpointIn &cp)
 

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 339 of file dist_iface.hh.

Constructor & Destructor Documentation

◆ Desc() [1/3]

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

Definition at line 345 of file dist_iface.hh.

◆ Desc() [2/3]

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

Definition at line 346 of file dist_iface.hh.

◆ Desc() [3/3]

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

Definition at line 348 of file dist_iface.hh.

Member Function Documentation

◆ serialize()

void 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 Serializable.

Definition at line 551 of file dist_iface.cc.

References SERIALIZE_SCALAR.

◆ unserialize()

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

Unserialize an object.

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

Parameters
cpCheckpoint state

Implements Serializable.

Definition at line 559 of file dist_iface.cc.

References UNSERIALIZE_SCALAR.

Member Data Documentation

◆ packet

EthPacketPtr DistIface::RecvScheduler::Desc::packet

Definition at line 341 of file dist_iface.hh.

◆ sendDelay

Tick DistIface::RecvScheduler::Desc::sendDelay

Definition at line 343 of file dist_iface.hh.

◆ sendTick

Tick DistIface::RecvScheduler::Desc::sendTick

Definition at line 342 of file dist_iface.hh.


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

Generated on Wed Sep 30 2020 14:02:23 for gem5 by doxygen 1.8.17