gem5
v20.0.0.2
|
#include <GPUCoalescer.hh>
Public Member Functions | |
UncoalescedTable (GPUCoalescer *gc) | |
~UncoalescedTable () | |
void | insertPacket (PacketPtr pkt) |
bool | packetAvailable () |
void | printRequestTable (std::stringstream &ss) |
PerInstPackets * | getInstPackets (int offset) |
void | updateResources () |
void | checkDeadlock (Tick threshold) |
Private Attributes | |
GPUCoalescer * | coalescer |
std::map< uint64_t, PerInstPackets > | instMap |
Definition at line 66 of file GPUCoalescer.hh.
UncoalescedTable::UncoalescedTable | ( | GPUCoalescer * | gc | ) |
Definition at line 116 of file GPUCoalescer.cc.
|
inline |
Definition at line 70 of file GPUCoalescer.hh.
References checkDeadlock(), getInstPackets(), insertPacket(), ArmISA::offset, packetAvailable(), printRequestTable(), ArmISA::ss, and updateResources().
void UncoalescedTable::checkDeadlock | ( | Tick | threshold | ) |
Definition at line 176 of file GPUCoalescer.cc.
References coalescer, curTick(), RubyPort::getId(), instMap, panic, printRequestTable(), and ArmISA::ss.
Referenced by GPUCoalescer::wakeup(), and ~UncoalescedTable().
PerInstPackets * UncoalescedTable::getInstPackets | ( | int | offset | ) |
Definition at line 138 of file GPUCoalescer.cc.
References instMap.
Referenced by GPUCoalescer::completeIssue(), and ~UncoalescedTable().
void UncoalescedTable::insertPacket | ( | PacketPtr | pkt | ) |
Definition at line 122 of file GPUCoalescer.cc.
References DPRINTF, Packet::getAddr(), instMap, and Packet::req.
Referenced by GPUCoalescer::makeRequest(), and ~UncoalescedTable().
bool UncoalescedTable::packetAvailable | ( | ) |
Definition at line 132 of file GPUCoalescer.cc.
References instMap.
Referenced by GPUCoalescer::completeHitCallback(), and ~UncoalescedTable().
void UncoalescedTable::printRequestTable | ( | std::stringstream & | ss | ) |
Definition at line 164 of file GPUCoalescer.cc.
References instMap.
Referenced by checkDeadlock(), GPUCoalescer::printRequestTable(), and ~UncoalescedTable().
void UncoalescedTable::updateResources | ( | ) |
Definition at line 151 of file GPUCoalescer.cc.
References coalescer, GPUCoalescer::getGMTokenPort(), instMap, and TokenSlavePort::sendTokens().
Referenced by GPUCoalescer::completeIssue(), and ~UncoalescedTable().
|
private |
Definition at line 87 of file GPUCoalescer.hh.
Referenced by checkDeadlock(), and updateResources().
|
private |
Definition at line 93 of file GPUCoalescer.hh.
Referenced by checkDeadlock(), getInstPackets(), insertPacket(), packetAvailable(), printRequestTable(), and updateResources().