gem5
v20.1.0.0
|
#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 () |
bool | areRequestsDone (const uint64_t instSeqNum) |
void | checkDeadlock (Tick threshold) |
Private Attributes | |
GPUCoalescer * | coalescer |
std::map< uint64_t, PerInstPackets > | instMap |
Definition at line 63 of file GPUCoalescer.hh.
UncoalescedTable::UncoalescedTable | ( | GPUCoalescer * | gc | ) |
Definition at line 59 of file GPUCoalescer.cc.
|
inline |
Definition at line 67 of file GPUCoalescer.hh.
bool UncoalescedTable::areRequestsDone | ( | const uint64_t | instSeqNum | ) |
Definition at line 108 of file GPUCoalescer.cc.
References DPRINTF, and instMap.
Referenced by GPUCoalescer::writeCompleteCallback().
void UncoalescedTable::checkDeadlock | ( | Tick | threshold | ) |
Definition at line 132 of file GPUCoalescer.cc.
References coalescer, curTick(), RubyPort::getId(), instMap, panic, printRequestTable(), and ArmISA::ss.
Referenced by GPUCoalescer::wakeup().
PerInstPackets * UncoalescedTable::getInstPackets | ( | int | offset | ) |
Definition at line 81 of file GPUCoalescer.cc.
References instMap, and ArmISA::offset.
Referenced by GPUCoalescer::completeIssue().
void UncoalescedTable::insertPacket | ( | PacketPtr | pkt | ) |
Definition at line 65 of file GPUCoalescer.cc.
References DPRINTF, Packet::getAddr(), instMap, and Packet::req.
Referenced by GPUCoalescer::makeRequest().
bool UncoalescedTable::packetAvailable | ( | ) |
Definition at line 75 of file GPUCoalescer.cc.
References instMap.
Referenced by GPUCoalescer::completeHitCallback().
void UncoalescedTable::printRequestTable | ( | std::stringstream & | ss | ) |
Definition at line 121 of file GPUCoalescer.cc.
References instMap, printAddress(), and ArmISA::ss.
Referenced by checkDeadlock(), and GPUCoalescer::printRequestTable().
void UncoalescedTable::updateResources | ( | ) |
Definition at line 94 of file GPUCoalescer.cc.
References coalescer, DPRINTF, GPUCoalescer::getGMTokenPort(), instMap, and TokenResponsePort::sendTokens().
Referenced by GPUCoalescer::completeIssue().
|
private |
Definition at line 85 of file GPUCoalescer.hh.
Referenced by checkDeadlock(), and updateResources().
|
private |
Definition at line 91 of file GPUCoalescer.hh.
Referenced by areRequestsDone(), checkDeadlock(), getInstPackets(), insertPacket(), packetAvailable(), printRequestTable(), and updateResources().