gem5  v20.0.0.2
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages
Classes | Public Types | Public Member Functions | Protected Member Functions | Protected Attributes | Private Member Functions | Private Attributes | List of all members
GPUCoalescer Class Reference

#include <GPUCoalescer.hh>

Inheritance diagram for GPUCoalescer:
RubyPort ClockedObject SimObject Clocked EventManager Serializable Drainable Stats::Group VIPERCoalescer

Classes

class  GMTokenPort
 

Public Types

typedef RubyGPUCoalescerParams Params
 
- Public Types inherited from RubyPort
typedef RubyPortParams Params
 
- Public Types inherited from ClockedObject
typedef ClockedObjectParams Params
 Parameters of ClockedObject. More...
 
- Public Types inherited from SimObject
typedef SimObjectParams Params
 

Public Member Functions

 GPUCoalescer (const Params *)
 
 ~GPUCoalescer ()
 
PortgetPort (const std::string &if_name, PortID idx=InvalidPortID) override
 Get a port with a given name and index. More...
 
void wakeup ()
 
void printRequestTable (std::stringstream &ss)
 
void printProgress (std::ostream &out) const
 
void resetStats () override
 Callback to reset stats. More...
 
void collateStats ()
 
void regStats () override
 Callback to set stat parameters. More...
 
void writeCallback (Addr address, DataBlock &data)
 
void writeCallback (Addr address, MachineType mach, DataBlock &data)
 
void writeCallback (Addr address, MachineType mach, DataBlock &data, Cycles initialRequestTime, Cycles forwardRequestTime, Cycles firstResponseTime, bool isRegion)
 
void writeCallback (Addr address, MachineType mach, DataBlock &data, Cycles initialRequestTime, Cycles forwardRequestTime, Cycles firstResponseTime)
 
void readCallback (Addr address, DataBlock &data)
 
void readCallback (Addr address, MachineType mach, DataBlock &data)
 
void readCallback (Addr address, MachineType mach, DataBlock &data, Cycles initialRequestTime, Cycles forwardRequestTime, Cycles firstResponseTime)
 
void readCallback (Addr address, MachineType mach, DataBlock &data, Cycles initialRequestTime, Cycles forwardRequestTime, Cycles firstResponseTime, bool isRegion)
 
void atomicCallback (Addr address, MachineType mach, const DataBlock &data)
 
void recordCPReadCallBack (MachineID myMachID, MachineID senderMachID)
 
void recordCPWriteCallBack (MachineID myMachID, MachineID senderMachID)
 
virtual RequestStatus makeRequest (PacketPtr pkt) override
 
int outstandingCount () const override
 
bool isDeadlockEventScheduled () const override
 
void descheduleDeadlockEvent () override
 
bool empty () const
 
void print (std::ostream &out) const
 
void evictionCallback (Addr address)
 
void completeIssue ()
 
void insertKernel (int wavefront_id, PacketPtr pkt)
 
GMTokenPortgetGMTokenPort ()
 
void recordRequestType (SequencerRequestType requestType)
 
Stats::HistogramgetOutstandReqHist ()
 
Stats::HistogramgetLatencyHist ()
 
Stats::HistogramgetTypeLatencyHist (uint32_t t)
 
Stats::HistogramgetMissLatencyHist ()
 
Stats::HistogramgetMissTypeLatencyHist (uint32_t t)
 
Stats::HistogramgetMissMachLatencyHist (uint32_t t) const
 
Stats::HistogramgetMissTypeMachLatencyHist (uint32_t r, uint32_t t) const
 
Stats::HistogramgetIssueToInitialDelayHist (uint32_t t) const
 
Stats::HistogramgetInitialToForwardDelayHist (const MachineType t) const
 
Stats::HistogramgetForwardRequestToFirstResponseHist (const MachineType t) const
 
Stats::HistogramgetFirstResponseToCompletionDelayHist (const MachineType t) const
 
- Public Member Functions inherited from RubyPort
 RubyPort (const Params *p)
 
virtual ~RubyPort ()
 
void init () override
 init() is called after all C++ SimObjects have been created and all ports are connected. More...
 
PortgetPort (const std::string &if_name, PortID idx=InvalidPortID) override
 Get a port with a given name and index. More...
 
void setController (AbstractController *_cntrl)
 
uint32_t getId ()
 
DrainState drain () override
 Notify an object that it needs to drain its state. More...
 
bool isCPUSequencer ()
 
virtual int functionalWrite (Packet *func_pkt)
 
- Public Member Functions inherited from ClockedObject
 ClockedObject (const ClockedObjectParams *p)
 
const Paramsparams () const
 
void serialize (CheckpointOut &cp) const override
 Serialize an object. More...
 
void unserialize (CheckpointIn &cp) override
 Unserialize an object. More...
 
- Public Member Functions inherited from SimObject
virtual ~SimObject ()
 
virtual const std::string name () const
 
virtual void loadState (CheckpointIn &cp)
 loadState() is called on each SimObject when restoring from a checkpoint. More...
 
virtual void initState ()
 initState() is called on each SimObject when not restoring from a checkpoint. More...
 
virtual void regProbePoints ()
 Register probe points for this object. More...
 
virtual void regProbeListeners ()
 Register probe listeners for this object. More...
 
ProbeManagergetProbeManager ()
 Get the probe manager for this object. More...
 
virtual void startup ()
 startup() is the final initialization call before simulation. More...
 
DrainState drain () override
 Provide a default implementation of the drain interface for objects that don't need draining. More...
 
virtual void memWriteback ()
 Write back dirty buffers to memory using functional writes. More...
 
virtual void memInvalidate ()
 Invalidate the contents of memory buffers. More...
 
void serialize (CheckpointOut &cp) const override
 Serialize an object. More...
 
void unserialize (CheckpointIn &cp) override
 Unserialize an object. More...
 
const Paramsparams () const
 
 SimObject (const Params *_params)
 
- Public Member Functions inherited from EventManager
EventQueueeventQueue () const
 
void schedule (Event &event, Tick when)
 
void deschedule (Event &event)
 
void reschedule (Event &event, Tick when, bool always=false)
 
void schedule (Event *event, Tick when)
 
void deschedule (Event *event)
 
void reschedule (Event *event, Tick when, bool always=false)
 
void wakeupEventQueue (Tick when=(Tick) -1)
 
void setCurTick (Tick newVal)
 
 EventManager (EventManager &em)
 
 EventManager (EventManager *em)
 
 EventManager (EventQueue *eq)
 
- Public Member Functions inherited from Serializable
 Serializable ()
 
virtual ~Serializable ()
 
void serializeSection (CheckpointOut &cp, const char *name) const
 Serialize an object into a new section. More...
 
void serializeSection (CheckpointOut &cp, const std::string &name) const
 
void unserializeSection (CheckpointIn &cp, const char *name)
 Unserialize an a child object. More...
 
void unserializeSection (CheckpointIn &cp, const std::string &name)
 
- Public Member Functions inherited from Drainable
DrainState drainState () const
 Return the current drain state of an object. More...
 
virtual void notifyFork ()
 Notify a child process of a fork. More...
 
- Public Member Functions inherited from Stats::Group
 Group (Group *parent, const char *name=nullptr)
 Construct a new statistics group. More...
 
virtual ~Group ()
 
virtual void preDumpStats ()
 Callback before stats are dumped. More...
 
void addStat (Stats::Info *info)
 Register a stat with this group. More...
 
const std::map< std::string, Group * > & getStatGroups () const
 Get all child groups associated with this object. More...
 
const std::vector< Info * > & getStats () const
 Get all stats associated with this object. More...
 
void addStatGroup (const char *name, Group *block)
 Add a stat block as a child of this block. More...
 
const InforesolveStat (std::string name) const
 Resolve a stat by its name within this group. More...
 
 Group ()=delete
 
 Group (const Group &)=delete
 
Groupoperator= (const Group &)=delete
 
- Public Member Functions inherited from Clocked
void updateClockPeriod ()
 Update the tick to the current tick. More...
 
Tick clockEdge (Cycles cycles=Cycles(0)) const
 Determine the tick when a cycle begins, by default the current one, but the argument also enables the caller to determine a future cycle. More...
 
Cycles curCycle () const
 Determine the current cycle, corresponding to a tick aligned to a clock edge. More...
 
Tick nextCycle () const
 Based on the clock of the object, determine the start tick of the first cycle that is at least one cycle in the future. More...
 
uint64_t frequency () const
 
Tick clockPeriod () const
 
double voltage () const
 
Cycles ticksToCycles (Tick t) const
 
Tick cyclesToTicks (Cycles c) const
 

Protected Member Functions

bool tryCacheAccess (Addr addr, RubyRequestType type, Addr pc, RubyAccessMode access_mode, int size, DataBlock *&data_ptr)
 
virtual void issueRequest (CoalescedRequest *crequest)
 
void kernelCallback (int wavfront_id)
 
void hitCallback (CoalescedRequest *crequest, MachineType mach, DataBlock &data, bool success, Cycles initialRequestTime, Cycles forwardRequestTime, Cycles firstResponseTime, bool isRegion)
 
void recordMissLatency (CoalescedRequest *crequest, MachineType mach, Cycles initialRequestTime, Cycles forwardRequestTime, Cycles firstResponseTime, bool success, bool isRegion)
 
void completeHitCallback (std::vector< PacketPtr > &mylist)
 
virtual RubyRequestType getRequestType (PacketPtr pkt)
 
bool coalescePacket (PacketPtr pkt)
 
- Protected Member Functions inherited from RubyPort
void trySendRetries ()
 
void ruby_hit_callback (PacketPtr pkt)
 
void testDrainComplete ()
 
void ruby_eviction_callback (Addr address)
 
bool recvTimingResp (PacketPtr pkt, PortID master_port_id)
 Called by the PIO port when receiving a timing response. More...
 
- Protected Member Functions inherited from Drainable
 Drainable ()
 
virtual ~Drainable ()
 
virtual void drainResume ()
 Resume execution after a successful drain. More...
 
void signalDrainDone () const
 Signal that an object is drained. More...
 
- Protected Member Functions inherited from Clocked
 Clocked (ClockDomain &clk_domain)
 Create a clocked object and set the clock domain based on the parameters. More...
 
 Clocked (Clocked &)=delete
 
Clockedoperator= (Clocked &)=delete
 
virtual ~Clocked ()
 Virtual destructor due to inheritance. More...
 
void resetClock () const
 Reset the object's clock using the current global tick value. More...
 
virtual void clockPeriodUpdated ()
 A hook subclasses can implement so they can do any extra work that's needed when the clock rate is changed. More...
 

Protected Attributes

EventFunctionWrapper issueEvent
 
int m_max_outstanding_requests
 
Cycles m_deadlock_threshold
 
CacheMemorym_dataCache_ptr
 
CacheMemorym_instCache_ptr
 
int coalescingWindow
 
UncoalescedTable uncoalescedTable
 
std::map< Addr, std::deque< CoalescedRequest * > > coalescedTable
 
int m_outstanding_count
 
bool m_deadlock_check_scheduled
 
std::unordered_map< int, PacketPtrkernelEndList
 
std::vector< int > newKernelEnds
 
int m_store_waiting_on_load_cycles
 
int m_store_waiting_on_store_cycles
 
int m_load_waiting_on_store_cycles
 
int m_load_waiting_on_load_cycles
 
bool m_runningGarnetStandalone
 
EventFunctionWrapper deadlockCheckEvent
 
bool assumingRfOCoherence
 
Stats::Scalar GPU_TCPLdHits
 
Stats::Scalar GPU_TCPLdTransfers
 
Stats::Scalar GPU_TCCLdHits
 
Stats::Scalar GPU_LdMiss
 
Stats::Scalar GPU_TCPStHits
 
Stats::Scalar GPU_TCPStTransfers
 
Stats::Scalar GPU_TCCStHits
 
Stats::Scalar GPU_StMiss
 
Stats::Scalar CP_TCPLdHits
 
Stats::Scalar CP_TCPLdTransfers
 
Stats::Scalar CP_TCCLdHits
 
Stats::Scalar CP_LdMiss
 
Stats::Scalar CP_TCPStHits
 
Stats::Scalar CP_TCPStTransfers
 
Stats::Scalar CP_TCCStHits
 
Stats::Scalar CP_StMiss
 
Stats::Histogram m_outstandReqHist
 Histogram for number of outstanding requests per cycle. More...
 
Stats::Histogram m_latencyHist
 Histogram for holding latency profile of all requests. More...
 
std::vector< Stats::Histogram * > m_typeLatencyHist
 
Stats::Histogram m_missLatencyHist
 Histogram for holding latency profile of all requests that miss in the controller connected to this sequencer. More...
 
std::vector< Stats::Histogram * > m_missTypeLatencyHist
 
std::vector< Stats::Histogram * > m_missMachLatencyHist
 Histograms for profiling the latencies for requests that required external messages. More...
 
std::vector< std::vector< Stats::Histogram * > > m_missTypeMachLatencyHist
 
std::vector< Stats::Histogram * > m_IssueToInitialDelayHist
 Histograms for recording the breakdown of miss latency. More...
 
std::vector< Stats::Histogram * > m_InitialToForwardDelayHist
 
std::vector< Stats::Histogram * > m_ForwardToFirstResponseDelayHist
 
std::vector< Stats::Histogram * > m_FirstResponseToCompletionDelayHist
 
- Protected Attributes inherited from RubyPort
RubySystemm_ruby_system
 
uint32_t m_version
 
AbstractControllerm_controller
 
MessageBufferm_mandatory_q_ptr
 
bool m_usingRubyTester
 
Systemsystem
 
std::vector< MemSlavePort * > slave_ports
 
- Protected Attributes inherited from SimObject
const SimObjectParams * _params
 Cached copy of the object parameters. More...
 
- Protected Attributes inherited from EventManager
EventQueueeventq
 A pointer to this object's event queue. More...
 

Private Member Functions

 GPUCoalescer (const GPUCoalescer &obj)
 
GPUCoalesceroperator= (const GPUCoalescer &obj)
 

Private Attributes

GMTokenPort gmTokenPort
 

Additional Inherited Members

- Static Public Member Functions inherited from SimObject
static void serializeAll (CheckpointOut &cp)
 Serialize all SimObjects in the system. More...
 
static SimObjectfind (const char *name)
 Find the SimObject with the given name and return a pointer to it. More...
 
- Static Public Member Functions inherited from Serializable
static const std::string & currentSection ()
 Gets the fully-qualified name of the active section. More...
 
static void serializeAll (const std::string &cpt_dir)
 
static void unserializeGlobals (CheckpointIn &cp)
 
- Public Attributes inherited from ClockedObject
PowerStatepowerState
 

Detailed Description

Definition at line 123 of file GPUCoalescer.hh.

Member Typedef Documentation

◆ Params

typedef RubyGPUCoalescerParams GPUCoalescer::Params

Definition at line 146 of file GPUCoalescer.hh.

Constructor & Destructor Documentation

◆ GPUCoalescer() [1/2]

GPUCoalescer::GPUCoalescer ( const Params p)

◆ ~GPUCoalescer()

GPUCoalescer::~GPUCoalescer ( )

Definition at line 233 of file GPUCoalescer.cc.

◆ GPUCoalescer() [2/2]

GPUCoalescer::GPUCoalescer ( const GPUCoalescer obj)
private

Member Function Documentation

◆ atomicCallback()

void GPUCoalescer::atomicCallback ( Addr  address,
MachineType  mach,
const DataBlock data 
)

Definition at line 882 of file GPUCoalescer.cc.

References coalescedTable, fatal_if, hitCallback(), issueRequest(), and makeLineAddress().

◆ coalescePacket()

bool GPUCoalescer::coalescePacket ( PacketPtr  pkt)
protected

◆ collateStats()

void GPUCoalescer::collateStats ( )

◆ completeHitCallback()

void GPUCoalescer::completeHitCallback ( std::vector< PacketPtr > &  mylist)
protected

◆ completeIssue()

void GPUCoalescer::completeIssue ( )

◆ descheduleDeadlockEvent()

void GPUCoalescer::descheduleDeadlockEvent ( )
inlineoverridevirtual

Implements RubyPort.

Definition at line 224 of file GPUCoalescer.hh.

◆ empty()

bool GPUCoalescer::empty ( ) const

Definition at line 544 of file GPUCoalescer.cc.

References coalescedTable.

◆ evictionCallback()

void GPUCoalescer::evictionCallback ( Addr  address)

Definition at line 866 of file GPUCoalescer.cc.

References RubyPort::ruby_eviction_callback().

◆ getFirstResponseToCompletionDelayHist()

Stats::Histogram& GPUCoalescer::getFirstResponseToCompletionDelayHist ( const MachineType  t) const
inline

Definition at line 271 of file GPUCoalescer.hh.

References addr, data, MipsISA::pc, ArmISA::t, and type.

◆ getForwardRequestToFirstResponseHist()

Stats::Histogram& GPUCoalescer::getForwardRequestToFirstResponseHist ( const MachineType  t) const
inline

Definition at line 267 of file GPUCoalescer.hh.

References ArmISA::t.

◆ getGMTokenPort()

GMTokenPort& GPUCoalescer::getGMTokenPort ( )
inline

Definition at line 238 of file GPUCoalescer.hh.

Referenced by UncoalescedTable::updateResources().

◆ getInitialToForwardDelayHist()

Stats::Histogram& GPUCoalescer::getInitialToForwardDelayHist ( const MachineType  t) const
inline

Definition at line 263 of file GPUCoalescer.hh.

References ArmISA::t.

Referenced by Profiler::collateStats().

◆ getIssueToInitialDelayHist()

Stats::Histogram& GPUCoalescer::getIssueToInitialDelayHist ( uint32_t  t) const
inline

Definition at line 259 of file GPUCoalescer.hh.

References ArmISA::t.

Referenced by Profiler::collateStats().

◆ getLatencyHist()

Stats::Histogram& GPUCoalescer::getLatencyHist ( )
inline

Definition at line 243 of file GPUCoalescer.hh.

Referenced by Profiler::collateStats().

◆ getMissLatencyHist()

Stats::Histogram& GPUCoalescer::getMissLatencyHist ( )
inline

Definition at line 247 of file GPUCoalescer.hh.

Referenced by Profiler::collateStats().

◆ getMissMachLatencyHist()

Stats::Histogram& GPUCoalescer::getMissMachLatencyHist ( uint32_t  t) const
inline

Definition at line 252 of file GPUCoalescer.hh.

References ArmISA::t.

Referenced by Profiler::collateStats().

◆ getMissTypeLatencyHist()

Stats::Histogram& GPUCoalescer::getMissTypeLatencyHist ( uint32_t  t)
inline

Definition at line 249 of file GPUCoalescer.hh.

References ArmISA::t.

Referenced by Profiler::collateStats().

◆ getMissTypeMachLatencyHist()

Stats::Histogram& GPUCoalescer::getMissTypeMachLatencyHist ( uint32_t  r,
uint32_t  t 
) const
inline

Definition at line 256 of file GPUCoalescer.hh.

References MipsISA::r, and ArmISA::t.

Referenced by Profiler::collateStats().

◆ getOutstandReqHist()

Stats::Histogram& GPUCoalescer::getOutstandReqHist ( )
inline

Definition at line 241 of file GPUCoalescer.hh.

Referenced by Profiler::collateStats().

◆ getPort()

Port & GPUCoalescer::getPort ( const std::string &  if_name,
PortID  idx = InvalidPortID 
)
overridevirtual

Get a port with a given name and index.

This is used at binding time and returns a reference to a protocol-agnostic port.

Parameters
if_namePort name
idxIndex in the case of a VectorPort
Returns
A reference to the given port

Reimplemented from SimObject.

Definition at line 238 of file GPUCoalescer.cc.

References RubyPort::getPort(), and gmTokenPort.

◆ getRequestType()

RubyRequestType GPUCoalescer::getRequestType ( PacketPtr  pkt)
protectedvirtual

Definition at line 550 of file GPUCoalescer.cc.

References Packet::isFlush(), Packet::isRead(), Packet::isWrite(), panic, and Packet::req.

Referenced by coalescePacket().

◆ getTypeLatencyHist()

Stats::Histogram& GPUCoalescer::getTypeLatencyHist ( uint32_t  t)
inline

Definition at line 244 of file GPUCoalescer.hh.

References ArmISA::t.

Referenced by Profiler::collateStats().

◆ hitCallback()

void GPUCoalescer::hitCallback ( CoalescedRequest crequest,
MachineType  mach,
DataBlock data,
bool  success,
Cycles  initialRequestTime,
Cycles  forwardRequestTime,
Cycles  firstResponseTime,
bool  isRegion 
)
protected

◆ insertKernel()

void GPUCoalescer::insertKernel ( int  wavefront_id,
PacketPtr  pkt 
)

Definition at line 333 of file GPUCoalescer.cc.

References DPRINTF, and kernelEndList.

Referenced by VIPERCoalescer::makeRequest(), and makeRequest().

◆ isDeadlockEventScheduled()

bool GPUCoalescer::isDeadlockEventScheduled ( ) const
inlineoverridevirtual

Implements RubyPort.

Definition at line 218 of file GPUCoalescer.hh.

◆ issueRequest()

void GPUCoalescer::issueRequest ( CoalescedRequest crequest)
protectedvirtual

◆ kernelCallback()

void GPUCoalescer::kernelCallback ( int  wavfront_id)
protected

Definition at line 872 of file GPUCoalescer.cc.

References kernelEndList, and RubyPort::ruby_hit_callback().

Referenced by completeIssue().

◆ makeRequest()

RequestStatus GPUCoalescer::makeRequest ( PacketPtr  pkt)
overridevirtual

◆ operator=()

GPUCoalescer& GPUCoalescer::operator= ( const GPUCoalescer obj)
private

◆ outstandingCount()

int GPUCoalescer::outstandingCount ( ) const
inlineoverridevirtual

Implements RubyPort.

Definition at line 215 of file GPUCoalescer.hh.

◆ print()

void GPUCoalescer::print ( std::ostream &  out) const

Definition at line 755 of file GPUCoalescer.cc.

References m_outstanding_count, and RubyPort::m_version.

Referenced by operator<<().

◆ printProgress()

void GPUCoalescer::printProgress ( std::ostream &  out) const

Definition at line 327 of file GPUCoalescer.cc.

◆ printRequestTable()

void GPUCoalescer::printRequestTable ( std::stringstream &  ss)

Definition at line 284 of file GPUCoalescer.cc.

References coalescedTable, UncoalescedTable::printRequestTable(), and uncoalescedTable.

Referenced by wakeup().

◆ readCallback() [1/4]

void GPUCoalescer::readCallback ( Addr  address,
DataBlock data 
)

Definition at line 402 of file GPUCoalescer.cc.

Referenced by readCallback().

◆ readCallback() [2/4]

void GPUCoalescer::readCallback ( Addr  address,
MachineType  mach,
DataBlock data 
)

Definition at line 408 of file GPUCoalescer.cc.

References readCallback().

◆ readCallback() [3/4]

void GPUCoalescer::readCallback ( Addr  address,
MachineType  mach,
DataBlock data,
Cycles  initialRequestTime,
Cycles  forwardRequestTime,
Cycles  firstResponseTime 
)

Definition at line 416 of file GPUCoalescer.cc.

References readCallback().

◆ readCallback() [4/4]

void GPUCoalescer::readCallback ( Addr  address,
MachineType  mach,
DataBlock data,
Cycles  initialRequestTime,
Cycles  forwardRequestTime,
Cycles  firstResponseTime,
bool  isRegion 
)

Definition at line 430 of file GPUCoalescer.cc.

References coalescedTable, fatal_if, hitCallback(), issueRequest(), and makeLineAddress().

◆ recordCPReadCallBack()

void GPUCoalescer::recordCPReadCallBack ( MachineID  myMachID,
MachineID  senderMachID 
)

◆ recordCPWriteCallBack()

void GPUCoalescer::recordCPWriteCallBack ( MachineID  myMachID,
MachineID  senderMachID 
)

◆ recordMissLatency()

void GPUCoalescer::recordMissLatency ( CoalescedRequest crequest,
MachineType  mach,
Cycles  initialRequestTime,
Cycles  forwardRequestTime,
Cycles  firstResponseTime,
bool  success,
bool  isRegion 
)
protected

◆ recordRequestType()

void GPUCoalescer::recordRequestType ( SequencerRequestType  requestType)

Definition at line 764 of file GPUCoalescer.cc.

References DPRINTF.

◆ regStats()

void GPUCoalescer::regStats ( )
overridevirtual

◆ resetStats()

void GPUCoalescer::resetStats ( )
overridevirtual

◆ tryCacheAccess()

bool GPUCoalescer::tryCacheAccess ( Addr  addr,
RubyRequestType  type,
Addr  pc,
RubyAccessMode  access_mode,
int  size,
DataBlock *&  data_ptr 
)
protected

◆ wakeup()

void GPUCoalescer::wakeup ( )

◆ writeCallback() [1/4]

void GPUCoalescer::writeCallback ( Addr  address,
DataBlock data 
)

Definition at line 347 of file GPUCoalescer.cc.

Referenced by writeCallback().

◆ writeCallback() [2/4]

void GPUCoalescer::writeCallback ( Addr  address,
MachineType  mach,
DataBlock data 
)

Definition at line 353 of file GPUCoalescer.cc.

References writeCallback().

◆ writeCallback() [3/4]

void GPUCoalescer::writeCallback ( Addr  address,
MachineType  mach,
DataBlock data,
Cycles  initialRequestTime,
Cycles  forwardRequestTime,
Cycles  firstResponseTime,
bool  isRegion 
)

Definition at line 374 of file GPUCoalescer.cc.

References coalescedTable, hitCallback(), issueRequest(), and makeLineAddress().

◆ writeCallback() [4/4]

void GPUCoalescer::writeCallback ( Addr  address,
MachineType  mach,
DataBlock data,
Cycles  initialRequestTime,
Cycles  forwardRequestTime,
Cycles  firstResponseTime 
)

Definition at line 361 of file GPUCoalescer.cc.

References writeCallback().

Member Data Documentation

◆ assumingRfOCoherence

bool GPUCoalescer::assumingRfOCoherence
protected

Definition at line 351 of file GPUCoalescer.hh.

Referenced by GPUCoalescer(), and makeRequest().

◆ coalescedTable

std::map<Addr, std::deque<CoalescedRequest*> > GPUCoalescer::coalescedTable
protected

◆ coalescingWindow

int GPUCoalescer::coalescingWindow
protected

Definition at line 323 of file GPUCoalescer.hh.

Referenced by completeIssue(), and GPUCoalescer().

◆ CP_LdMiss

Stats::Scalar GPUCoalescer::CP_LdMiss
protected

Definition at line 367 of file GPUCoalescer.hh.

Referenced by recordCPReadCallBack(), and regStats().

◆ CP_StMiss

Stats::Scalar GPUCoalescer::CP_StMiss
protected

Definition at line 372 of file GPUCoalescer.hh.

Referenced by recordCPWriteCallBack(), and regStats().

◆ CP_TCCLdHits

Stats::Scalar GPUCoalescer::CP_TCCLdHits
protected

Definition at line 366 of file GPUCoalescer.hh.

Referenced by recordCPReadCallBack(), and regStats().

◆ CP_TCCStHits

Stats::Scalar GPUCoalescer::CP_TCCStHits
protected

Definition at line 371 of file GPUCoalescer.hh.

Referenced by recordCPWriteCallBack(), and regStats().

◆ CP_TCPLdHits

Stats::Scalar GPUCoalescer::CP_TCPLdHits
protected

Definition at line 364 of file GPUCoalescer.hh.

Referenced by recordCPReadCallBack(), and regStats().

◆ CP_TCPLdTransfers

Stats::Scalar GPUCoalescer::CP_TCPLdTransfers
protected

Definition at line 365 of file GPUCoalescer.hh.

Referenced by recordCPReadCallBack(), and regStats().

◆ CP_TCPStHits

Stats::Scalar GPUCoalescer::CP_TCPStHits
protected

Definition at line 369 of file GPUCoalescer.hh.

Referenced by recordCPWriteCallBack(), and regStats().

◆ CP_TCPStTransfers

Stats::Scalar GPUCoalescer::CP_TCPStTransfers
protected

Definition at line 370 of file GPUCoalescer.hh.

Referenced by recordCPWriteCallBack(), and regStats().

◆ deadlockCheckEvent

EventFunctionWrapper GPUCoalescer::deadlockCheckEvent
protected

Definition at line 350 of file GPUCoalescer.hh.

Referenced by GPUCoalescer(), issueRequest(), and wakeup().

◆ gmTokenPort

GMTokenPort GPUCoalescer::gmTokenPort
private

Definition at line 401 of file GPUCoalescer.hh.

Referenced by getPort(), and GPUCoalescer().

◆ GPU_LdMiss

Stats::Scalar GPUCoalescer::GPU_LdMiss
protected

Definition at line 357 of file GPUCoalescer.hh.

Referenced by recordMissLatency(), and regStats().

◆ GPU_StMiss

Stats::Scalar GPUCoalescer::GPU_StMiss
protected

Definition at line 362 of file GPUCoalescer.hh.

Referenced by recordMissLatency(), and regStats().

◆ GPU_TCCLdHits

Stats::Scalar GPUCoalescer::GPU_TCCLdHits
protected

Definition at line 356 of file GPUCoalescer.hh.

Referenced by recordMissLatency(), and regStats().

◆ GPU_TCCStHits

Stats::Scalar GPUCoalescer::GPU_TCCStHits
protected

Definition at line 361 of file GPUCoalescer.hh.

Referenced by recordMissLatency(), and regStats().

◆ GPU_TCPLdHits

Stats::Scalar GPUCoalescer::GPU_TCPLdHits
protected

Definition at line 354 of file GPUCoalescer.hh.

Referenced by recordMissLatency(), and regStats().

◆ GPU_TCPLdTransfers

Stats::Scalar GPUCoalescer::GPU_TCPLdTransfers
protected

Definition at line 355 of file GPUCoalescer.hh.

Referenced by recordMissLatency(), and regStats().

◆ GPU_TCPStHits

Stats::Scalar GPUCoalescer::GPU_TCPStHits
protected

Definition at line 359 of file GPUCoalescer.hh.

Referenced by recordMissLatency(), and regStats().

◆ GPU_TCPStTransfers

Stats::Scalar GPUCoalescer::GPU_TCPStTransfers
protected

Definition at line 360 of file GPUCoalescer.hh.

Referenced by recordMissLatency(), and regStats().

◆ issueEvent

EventFunctionWrapper GPUCoalescer::issueEvent
protected

Definition at line 310 of file GPUCoalescer.hh.

Referenced by completeHitCallback(), VIPERCoalescer::makeRequest(), and makeRequest().

◆ kernelEndList

std::unordered_map<int, PacketPtr> GPUCoalescer::kernelEndList
protected

◆ m_dataCache_ptr

CacheMemory* GPUCoalescer::m_dataCache_ptr
protected

◆ m_deadlock_check_scheduled

bool GPUCoalescer::m_deadlock_check_scheduled
protected

Definition at line 339 of file GPUCoalescer.hh.

◆ m_deadlock_threshold

Cycles GPUCoalescer::m_deadlock_threshold
protected

Definition at line 316 of file GPUCoalescer.hh.

Referenced by GPUCoalescer(), issueRequest(), and wakeup().

◆ m_FirstResponseToCompletionDelayHist

std::vector<Stats::Histogram *> GPUCoalescer::m_FirstResponseToCompletionDelayHist
protected

Definition at line 395 of file GPUCoalescer.hh.

Referenced by recordMissLatency(), regStats(), and resetStats().

◆ m_ForwardToFirstResponseDelayHist

std::vector<Stats::Histogram *> GPUCoalescer::m_ForwardToFirstResponseDelayHist
protected

Definition at line 394 of file GPUCoalescer.hh.

Referenced by recordMissLatency(), regStats(), and resetStats().

◆ m_InitialToForwardDelayHist

std::vector<Stats::Histogram *> GPUCoalescer::m_InitialToForwardDelayHist
protected

Definition at line 393 of file GPUCoalescer.hh.

Referenced by recordMissLatency(), regStats(), and resetStats().

◆ m_instCache_ptr

CacheMemory* GPUCoalescer::m_instCache_ptr
protected

Definition at line 319 of file GPUCoalescer.hh.

Referenced by GPUCoalescer().

◆ m_IssueToInitialDelayHist

std::vector<Stats::Histogram *> GPUCoalescer::m_IssueToInitialDelayHist
protected

Histograms for recording the breakdown of miss latency.

Definition at line 392 of file GPUCoalescer.hh.

Referenced by recordMissLatency(), regStats(), and resetStats().

◆ m_latencyHist

Stats::Histogram GPUCoalescer::m_latencyHist
protected

Histogram for holding latency profile of all requests.

Definition at line 378 of file GPUCoalescer.hh.

Referenced by recordMissLatency(), regStats(), and resetStats().

◆ m_load_waiting_on_load_cycles

int GPUCoalescer::m_load_waiting_on_load_cycles
protected

Definition at line 346 of file GPUCoalescer.hh.

Referenced by GPUCoalescer().

◆ m_load_waiting_on_store_cycles

int GPUCoalescer::m_load_waiting_on_store_cycles
protected

Definition at line 345 of file GPUCoalescer.hh.

Referenced by GPUCoalescer().

◆ m_max_outstanding_requests

int GPUCoalescer::m_max_outstanding_requests
protected

Definition at line 315 of file GPUCoalescer.hh.

Referenced by coalescePacket(), and GPUCoalescer().

◆ m_missLatencyHist

Stats::Histogram GPUCoalescer::m_missLatencyHist
protected

Histogram for holding latency profile of all requests that miss in the controller connected to this sequencer.

Definition at line 383 of file GPUCoalescer.hh.

Referenced by recordMissLatency(), regStats(), and resetStats().

◆ m_missMachLatencyHist

std::vector<Stats::Histogram *> GPUCoalescer::m_missMachLatencyHist
protected

Histograms for profiling the latencies for requests that required external messages.

Definition at line 388 of file GPUCoalescer.hh.

Referenced by recordMissLatency(), regStats(), and resetStats().

◆ m_missTypeLatencyHist

std::vector<Stats::Histogram *> GPUCoalescer::m_missTypeLatencyHist
protected

Definition at line 384 of file GPUCoalescer.hh.

Referenced by recordMissLatency(), regStats(), and resetStats().

◆ m_missTypeMachLatencyHist

std::vector< std::vector<Stats::Histogram *> > GPUCoalescer::m_missTypeMachLatencyHist
protected

Definition at line 389 of file GPUCoalescer.hh.

Referenced by recordMissLatency(), regStats(), and resetStats().

◆ m_outstanding_count

int GPUCoalescer::m_outstanding_count
protected

Definition at line 338 of file GPUCoalescer.hh.

Referenced by coalescePacket(), GPUCoalescer(), hitCallback(), print(), and wakeup().

◆ m_outstandReqHist

Stats::Histogram GPUCoalescer::m_outstandReqHist
protected

Histogram for number of outstanding requests per cycle.

Definition at line 375 of file GPUCoalescer.hh.

Referenced by regStats().

◆ m_runningGarnetStandalone

bool GPUCoalescer::m_runningGarnetStandalone
protected

Definition at line 348 of file GPUCoalescer.hh.

Referenced by GPUCoalescer().

◆ m_store_waiting_on_load_cycles

int GPUCoalescer::m_store_waiting_on_load_cycles
protected

Definition at line 343 of file GPUCoalescer.hh.

Referenced by GPUCoalescer().

◆ m_store_waiting_on_store_cycles

int GPUCoalescer::m_store_waiting_on_store_cycles
protected

Definition at line 344 of file GPUCoalescer.hh.

Referenced by GPUCoalescer().

◆ m_typeLatencyHist

std::vector<Stats::Histogram *> GPUCoalescer::m_typeLatencyHist
protected

Definition at line 379 of file GPUCoalescer.hh.

Referenced by recordMissLatency(), regStats(), and resetStats().

◆ newKernelEnds

std::vector<int> GPUCoalescer::newKernelEnds
protected

◆ uncoalescedTable

UncoalescedTable GPUCoalescer::uncoalescedTable
protected

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

Generated on Mon Jun 8 2020 15:45:23 for gem5 by doxygen 1.8.13