gem5 v24.0.0.0
Loading...
Searching...
No Matches
gem5::SpatterAccess Struct Reference

#include <utility_structs.hh>

Inheritance diagram for gem5::SpatterAccess:
gem5::Packet::SenderState

Public Types

typedef std::tuple< Addr, size_t > AccessPair
 
typedef enums::SpatterKernelType SpatterKernelType
 

Public Member Functions

 SpatterAccess (RequestorID requestor_id, SpatterKernelType kernel_type, const std::queue< AccessPair > &access_pairs)
 
SpatterKernelType type () const
 
int tripsLeft () const
 
void recordTripTime (Tick trip_time)
 
Tick tripTimeSoFar () const
 
AccessPair nextAccessPair ()
 
PacketPtr nextPacket ()
 
PacketPtr createPacket (Addr addr, size_t size, MemCmd cmd) const
 
- Public Member Functions inherited from gem5::Packet::SenderState
 SenderState ()
 
virtual ~SenderState ()
 

Public Attributes

RequestorID requestorId
 
SpatterKernelType _kernelType
 
Tick accTripTime
 
std::queue< AccessPairaccessPairs
 
- Public Attributes inherited from gem5::Packet::SenderState
SenderStatepredecessor
 

Detailed Description

Definition at line 88 of file utility_structs.hh.

Member Typedef Documentation

◆ AccessPair

typedef std::tuple<Addr, size_t> gem5::SpatterAccess::AccessPair

Definition at line 90 of file utility_structs.hh.

◆ SpatterKernelType

typedef enums::SpatterKernelType gem5::SpatterAccess::SpatterKernelType

Definition at line 91 of file utility_structs.hh.

Constructor & Destructor Documentation

◆ SpatterAccess()

gem5::SpatterAccess::SpatterAccess ( RequestorID requestor_id,
SpatterKernelType kernel_type,
const std::queue< AccessPair > & access_pairs )
inline

Definition at line 98 of file utility_structs.hh.

Member Function Documentation

◆ createPacket()

PacketPtr gem5::SpatterAccess::createPacket ( Addr addr,
size_t size,
MemCmd cmd ) const
inline

◆ nextAccessPair()

AccessPair gem5::SpatterAccess::nextAccessPair ( )
inline

Definition at line 115 of file utility_structs.hh.

References accessPairs, and tripsLeft().

Referenced by nextPacket().

◆ nextPacket()

◆ recordTripTime()

void gem5::SpatterAccess::recordTripTime ( Tick trip_time)
inline

Definition at line 111 of file utility_structs.hh.

References accTripTime.

Referenced by gem5::SpatterGen::recvTimingResp().

◆ tripsLeft()

int gem5::SpatterAccess::tripsLeft ( ) const
inline

Definition at line 109 of file utility_structs.hh.

References accessPairs.

Referenced by nextAccessPair(), nextPacket(), and gem5::SpatterGen::recvTimingResp().

◆ tripTimeSoFar()

Tick gem5::SpatterAccess::tripTimeSoFar ( ) const
inline

Definition at line 113 of file utility_structs.hh.

References accTripTime.

Referenced by gem5::SpatterGen::recvTimingResp().

◆ type()

SpatterKernelType gem5::SpatterAccess::type ( ) const
inline

Definition at line 107 of file utility_structs.hh.

References _kernelType.

Referenced by gem5::SpatterGen::recvTimingResp().

Member Data Documentation

◆ _kernelType

SpatterKernelType gem5::SpatterAccess::_kernelType

Definition at line 94 of file utility_structs.hh.

Referenced by nextPacket(), and type().

◆ accessPairs

std::queue<AccessPair> gem5::SpatterAccess::accessPairs

Definition at line 96 of file utility_structs.hh.

Referenced by nextAccessPair(), and tripsLeft().

◆ accTripTime

Tick gem5::SpatterAccess::accTripTime

Definition at line 95 of file utility_structs.hh.

Referenced by recordTripTime(), and tripTimeSoFar().

◆ requestorId

RequestorID gem5::SpatterAccess::requestorId

Definition at line 93 of file utility_structs.hh.

Referenced by createPacket().


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

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