gem5 v25.0.0.1
Loading...
Searching...
No Matches
gem5::probing::PacketInfo Struct Reference

A struct to hold on to the essential fields from a packet, so that the packet and underlying request can be safely passed on, and consequently modified or even deleted. More...

#include <mem.hh>

Public Member Functions

 PacketInfo (const PacketPtr &pkt)

Public Attributes

MemCmd cmd
Addr addr
uint32_t size
Request::FlagsType flags
Addr pc
RequestorID id

Detailed Description

A struct to hold on to the essential fields from a packet, so that the packet and underlying request can be safely passed on, and consequently modified or even deleted.

Definition at line 57 of file mem.hh.

Constructor & Destructor Documentation

◆ PacketInfo()

gem5::probing::PacketInfo::PacketInfo ( const PacketPtr & pkt)
inlineexplicit

Definition at line 66 of file mem.hh.

References addr, cmd, flags, id, pc, and size.

Member Data Documentation

◆ addr

◆ cmd

◆ flags

Request::FlagsType gem5::probing::PacketInfo::flags

Definition at line 62 of file mem.hh.

Referenced by gem5::MemTraceProbe::handleRequest(), and PacketInfo().

◆ id

RequestorID gem5::probing::PacketInfo::id

Definition at line 64 of file mem.hh.

Referenced by gem5::MemTraceProbe::handleRequest(), and PacketInfo().

◆ pc

Addr gem5::probing::PacketInfo::pc

Definition at line 63 of file mem.hh.

Referenced by gem5::MemTraceProbe::handleRequest(), and PacketInfo().

◆ size


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

Generated on Sat Oct 18 2025 08:07:01 for gem5 by doxygen 1.14.0