gem5
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
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 ()
 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
 

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

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

Definition at line 347 of file dist_iface.hh.

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

Definition at line 348 of file dist_iface.hh.

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

Definition at line 350 of file dist_iface.hh.

Member Function Documentation

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 555 of file dist_iface.cc.

References SERIALIZE_SCALAR.

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 563 of file dist_iface.cc.

References UNSERIALIZE_SCALAR.

Member Data Documentation

EthPacketPtr DistIface::RecvScheduler::Desc::packet

Definition at line 343 of file dist_iface.hh.

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

Tick DistIface::RecvScheduler::Desc::sendDelay

Definition at line 345 of file dist_iface.hh.

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

Tick DistIface::RecvScheduler::Desc::sendTick

Definition at line 344 of file dist_iface.hh.

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


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

Generated on Fri Jun 9 2017 13:04:07 for gem5 by doxygen 1.8.6