gem5 v24.0.0.0
Loading...
Searching...
No Matches
gem5::PacketFifoEntry Struct Reference

#include <pktfifo.hh>

Public Member Functions

 PacketFifoEntry ()
 
 PacketFifoEntry (const PacketFifoEntry &s)
 
 PacketFifoEntry (EthPacketPtr p, uint64_t n)
 
void clear ()
 
void serialize (const std::string &base, CheckpointOut &cp) const
 
void unserialize (const std::string &base, CheckpointIn &cp)
 

Public Attributes

EthPacketPtr packet
 
uint64_t number
 
unsigned slack
 
int priv
 

Detailed Description

Definition at line 45 of file pktfifo.hh.

Constructor & Destructor Documentation

◆ PacketFifoEntry() [1/3]

gem5::PacketFifoEntry::PacketFifoEntry ( )
inline

Definition at line 52 of file pktfifo.hh.

References clear().

◆ PacketFifoEntry() [2/3]

gem5::PacketFifoEntry::PacketFifoEntry ( const PacketFifoEntry & s)
inline

Definition at line 57 of file pktfifo.hh.

◆ PacketFifoEntry() [3/3]

gem5::PacketFifoEntry::PacketFifoEntry ( EthPacketPtr p,
uint64_t n )
inline

Definition at line 62 of file pktfifo.hh.

Member Function Documentation

◆ clear()

void gem5::PacketFifoEntry::clear ( )
inline

Definition at line 68 of file pktfifo.hh.

References number, packet, priv, and slack.

Referenced by PacketFifoEntry().

◆ serialize()

void gem5::PacketFifoEntry::serialize ( const std::string & base,
CheckpointOut & cp ) const

Definition at line 68 of file pktfifo.cc.

References gem5::X86ISA::base, number, packet, gem5::paramOut(), priv, and slack.

◆ unserialize()

void gem5::PacketFifoEntry::unserialize ( const std::string & base,
CheckpointIn & cp )

Definition at line 77 of file pktfifo.cc.

References gem5::X86ISA::base, number, packet, gem5::paramIn(), priv, and slack.

Referenced by gem5::PacketFifo::unserialize().

Member Data Documentation

◆ number

uint64_t gem5::PacketFifoEntry::number

Definition at line 48 of file pktfifo.hh.

Referenced by clear(), gem5::PacketFifo::push(), serialize(), and unserialize().

◆ packet

EthPacketPtr gem5::PacketFifoEntry::packet

Definition at line 47 of file pktfifo.hh.

Referenced by clear(), gem5::PacketFifo::push(), serialize(), and unserialize().

◆ priv

int gem5::PacketFifoEntry::priv

Definition at line 50 of file pktfifo.hh.

Referenced by clear(), serialize(), and unserialize().

◆ slack

unsigned gem5::PacketFifoEntry::slack

Definition at line 49 of file pktfifo.hh.

Referenced by clear(), serialize(), and unserialize().


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

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