gem5 [DEVELOP-FOR-25.0]
Loading...
Searching...
No Matches
gem5::ruby::UncoalescedTable Class Reference

#include <GPUCoalescer.hh>

Public Member Functions

 UncoalescedTable (GPUCoalescer *gc)
 
 ~UncoalescedTable ()
 
void insertPacket (PacketPtr pkt)
 
void insertReqType (PacketPtr pkt, RubyRequestType type)
 
bool packetAvailable ()
 
void printRequestTable (std::stringstream &ss)
 
void initPacketsRemaining (InstSeqNum seqNum, int count)
 
int getPacketsRemaining (InstSeqNum seqNum)
 
void setPacketsRemaining (InstSeqNum seqNum, int count)
 
PerInstPacketsgetInstPackets (int offset)
 
void updateResources ()
 
bool areRequestsDone (const InstSeqNum instSeqNum)
 
void checkDeadlock (Tick threshold)
 

Private Attributes

GPUCoalescercoalescer
 
std::map< InstSeqNum, PerInstPacketsinstMap
 
std::map< InstSeqNum, int > instPktsRemaining
 
std::map< InstSeqNum, RubyRequestType > reqTypeMap
 

Detailed Description

Definition at line 67 of file GPUCoalescer.hh.

Constructor & Destructor Documentation

◆ UncoalescedTable()

gem5::ruby::UncoalescedTable::UncoalescedTable ( GPUCoalescer * gc)

Definition at line 62 of file GPUCoalescer.cc.

References coalescer.

◆ ~UncoalescedTable()

gem5::ruby::UncoalescedTable::~UncoalescedTable ( )
inline

Definition at line 71 of file GPUCoalescer.hh.

Member Function Documentation

◆ areRequestsDone()

bool gem5::ruby::UncoalescedTable::areRequestsDone ( const InstSeqNum instSeqNum)

Definition at line 162 of file GPUCoalescer.cc.

References DPRINTF, and instMap.

◆ checkDeadlock()

void gem5::ruby::UncoalescedTable::checkDeadlock ( Tick threshold)

◆ getInstPackets()

PerInstPackets * gem5::ruby::UncoalescedTable::getInstPackets ( int offset)

Definition at line 112 of file GPUCoalescer.cc.

References instMap, and gem5::ArmISA::offset.

◆ getPacketsRemaining()

int gem5::ruby::UncoalescedTable::getPacketsRemaining ( InstSeqNum seqNum)

Definition at line 100 of file GPUCoalescer.cc.

References instPktsRemaining.

◆ initPacketsRemaining()

void gem5::ruby::UncoalescedTable::initPacketsRemaining ( InstSeqNum seqNum,
int count )

Definition at line 92 of file GPUCoalescer.cc.

References gem5::X86ISA::count, and instPktsRemaining.

◆ insertPacket()

void gem5::ruby::UncoalescedTable::insertPacket ( PacketPtr pkt)

Definition at line 68 of file GPUCoalescer.cc.

References DPRINTF, gem5::Packet::getAddr(), instMap, and gem5::Packet::req.

◆ insertReqType()

void gem5::ruby::UncoalescedTable::insertReqType ( PacketPtr pkt,
RubyRequestType type )

Definition at line 78 of file GPUCoalescer.cc.

References gem5::Packet::req, and reqTypeMap.

◆ packetAvailable()

bool gem5::ruby::UncoalescedTable::packetAvailable ( )

Definition at line 86 of file GPUCoalescer.cc.

References instMap.

◆ printRequestTable()

void gem5::ruby::UncoalescedTable::printRequestTable ( std::stringstream & ss)

Definition at line 175 of file GPUCoalescer.cc.

References coalescer, instMap, and gem5::ArmISA::ss.

Referenced by checkDeadlock().

◆ setPacketsRemaining()

void gem5::ruby::UncoalescedTable::setPacketsRemaining ( InstSeqNum seqNum,
int count )

Definition at line 106 of file GPUCoalescer.cc.

References gem5::X86ISA::count, and instPktsRemaining.

◆ updateResources()

void gem5::ruby::UncoalescedTable::updateResources ( )

Definition at line 125 of file GPUCoalescer.cc.

References coalescer, DPRINTF, instMap, instPktsRemaining, and reqTypeMap.

Member Data Documentation

◆ coalescer

GPUCoalescer* gem5::ruby::UncoalescedTable::coalescer
private

◆ instMap

std::map<InstSeqNum, PerInstPackets> gem5::ruby::UncoalescedTable::instMap
private

◆ instPktsRemaining

std::map<InstSeqNum, int> gem5::ruby::UncoalescedTable::instPktsRemaining
private

◆ reqTypeMap

std::map<InstSeqNum, RubyRequestType> gem5::ruby::UncoalescedTable::reqTypeMap
private

Definition at line 106 of file GPUCoalescer.hh.

Referenced by insertReqType(), and updateResources().


The documentation for this class was generated from the following files:

Generated on Mon May 26 2025 09:19:37 for gem5 by doxygen 1.13.2