gem5 v24.0.0.0
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.

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().

◆ id

RequestorID gem5::probing::PacketInfo::id

Definition at line 64 of file mem.hh.

Referenced by gem5::MemTraceProbe::handleRequest().

◆ pc

Addr gem5::probing::PacketInfo::pc

Definition at line 63 of file mem.hh.

Referenced by gem5::MemTraceProbe::handleRequest().

◆ size

uint32_t gem5::probing::PacketInfo::size

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

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