gem5  v20.0.0.2
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages
Public Member Functions | Public Attributes | List of all members
ProbePoints::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
 
MasterID master
 

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 53 of file mem.hh.

Constructor & Destructor Documentation

◆ PacketInfo()

ProbePoints::PacketInfo::PacketInfo ( const PacketPtr pkt)
inlineexplicit

Definition at line 61 of file mem.hh.

Member Data Documentation

◆ addr

Addr ProbePoints::PacketInfo::addr

◆ cmd

MemCmd ProbePoints::PacketInfo::cmd

◆ flags

Request::FlagsType ProbePoints::PacketInfo::flags

Definition at line 57 of file mem.hh.

Referenced by MemTraceProbe::handleRequest().

◆ master

MasterID ProbePoints::PacketInfo::master

Definition at line 59 of file mem.hh.

Referenced by MemTraceProbe::handleRequest().

◆ pc

Addr ProbePoints::PacketInfo::pc

Definition at line 58 of file mem.hh.

Referenced by MemTraceProbe::handleRequest().

◆ size

uint32_t ProbePoints::PacketInfo::size

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

Generated on Mon Jun 8 2020 15:45:59 for gem5 by doxygen 1.8.13