|
gem5 [DEVELOP-FOR-25.0]
|
Model for a receive link. More...
#include <dist_etherlink.hh>
Public Member Functions | |
| RxLink (const std::string &name, DistEtherLink *p, Tick delay, EtherDump *d) | |
| ~RxLink () | |
| void | setDistInt (DistIface *m) |
| Register our dist interface to talk to the peer gem5 processes. | |
| const EventFunctionWrapper * | doneEvent () const |
| Done events will be scheduled by DistIface (so we need the accessor) | |
Public Member Functions inherited from gem5::DistEtherLink::Link | |
| Link (const std::string &name, DistEtherLink *p, EtherDump *d, Event *e) | |
| ~Link () | |
| const std::string | name () const |
| bool | busy () const |
| void | setLocalInt (LocalIface *i) |
| 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) |
Protected Member Functions | |
| void | rxDone () |
| Receive done callback method. | |
Protected Attributes | |
| Tick | linkDelay |
| Transmission delay for the simulated Ethernet link. | |
| EventFunctionWrapper | _doneEvent |
Protected Attributes inherited from gem5::DistEtherLink::Link | |
| std::string | objName |
| DistEtherLink * | parent |
| LocalIface * | localIface |
| EtherDump * | dump |
| DistIface * | distIface |
| Event * | event |
| EthPacketPtr | packet |
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. | |
Model for a receive link.
Definition at line 155 of file dist_etherlink.hh.
|
inline |
Definition at line 172 of file dist_etherlink.hh.
References _doneEvent, gem5::ArmISA::d, gem5::DistEtherLink::DistEtherLink(), gem5::DistEtherLink::Link::Link(), linkDelay, gem5::DistEtherLink::Link::name(), gem5::MipsISA::p, and rxDone().
|
inline |
Definition at line 176 of file dist_etherlink.hh.
|
inline |
Done events will be scheduled by DistIface (so we need the accessor)
Definition at line 185 of file dist_etherlink.hh.
References _doneEvent.
|
protected |
Receive done callback method.
Called from doneEvent.
Definition at line 155 of file dist_etherlink.cc.
References gem5::DistEtherLink::Link::busy(), DDUMP, gem5::DistEtherLink::Link::distIface, DPRINTF, gem5::DistEtherLink::Link::dump, gem5::DistEtherLink::Link::localIface, and gem5::DistEtherLink::Link::packet.
Referenced by RxLink().
| void gem5::DistEtherLink::RxLink::setDistInt | ( | DistIface * | m | ) |
Register our dist interface to talk to the peer gem5 processes.
Definition at line 148 of file dist_etherlink.cc.
References gem5::DistEtherLink::Link::distIface, and gem5::ArmISA::m.
Referenced by gem5::DistEtherLink::LocalIface::LocalIface().
|
protected |
Definition at line 168 of file dist_etherlink.hh.
Referenced by doneEvent(), and RxLink().
|
protected |
Transmission delay for the simulated Ethernet link.
Definition at line 162 of file dist_etherlink.hh.
Referenced by RxLink().