gem5 v24.0.0.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 61 of file GPUCoalescer.cc.

◆ ~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 161 of file GPUCoalescer.cc.

References DPRINTF, and instMap.

Referenced by gem5::ruby::GPUCoalescer::writeCompleteCallback().

◆ checkDeadlock()

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

◆ getInstPackets()

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

Definition at line 111 of file GPUCoalescer.cc.

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

Referenced by gem5::ruby::GPUCoalescer::completeIssue().

◆ getPacketsRemaining()

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

Definition at line 99 of file GPUCoalescer.cc.

References instPktsRemaining.

Referenced by gem5::ruby::GPUCoalescer::completeIssue().

◆ initPacketsRemaining()

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

Definition at line 91 of file GPUCoalescer.cc.

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

Referenced by gem5::ruby::GPUCoalescer::makeRequest().

◆ insertPacket()

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

◆ insertReqType()

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

Definition at line 77 of file GPUCoalescer.cc.

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

Referenced by gem5::ruby::GPUCoalescer::makeRequest().

◆ packetAvailable()

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

Definition at line 85 of file GPUCoalescer.cc.

References instMap.

Referenced by gem5::ruby::GPUCoalescer::completeHitCallback().

◆ printRequestTable()

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

◆ setPacketsRemaining()

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

Definition at line 105 of file GPUCoalescer.cc.

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

Referenced by gem5::ruby::GPUCoalescer::completeIssue().

◆ updateResources()

Member Data Documentation

◆ coalescer

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

Definition at line 96 of file GPUCoalescer.hh.

Referenced by checkDeadlock(), and updateResources().

◆ 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 Tue Jun 18 2024 16:24:22 for gem5 by doxygen 1.11.0