gem5  v21.1.0.2
Public Member Functions | Public Attributes | List of all members
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 58 of file mem.hh.

Constructor & Destructor Documentation

◆ PacketInfo()

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

Definition at line 67 of file mem.hh.

Member Data Documentation

◆ addr

Addr gem5::probing::PacketInfo::addr

◆ cmd

MemCmd gem5::probing::PacketInfo::cmd

◆ flags

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

Definition at line 63 of file mem.hh.

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

◆ id

RequestorID gem5::probing::PacketInfo::id

Definition at line 65 of file mem.hh.

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

◆ pc

Addr gem5::probing::PacketInfo::pc

Definition at line 64 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 Sep 21 2021 12:31:54 for gem5 by doxygen 1.8.17