gem5  v20.1.0.0
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
 
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 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().

◆ id

RequestorID ProbePoints::PacketInfo::id

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 Wed Sep 30 2020 14:03:08 for gem5 by doxygen 1.8.17