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

#include <GPUCoalescer.hh>

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

Classes

class  GPUCoalescerWakeupEvent
 
class  IssueEvent
 

Public Types

typedef RubyGPUCoalescerParams Params
 
- Public Types inherited from RubyPort
typedef RubyPortParams Params
 
- Public Types inherited from MemObject
typedef MemObjectParams 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 ()
 
void wakeup ()
 
void printProgress (std::ostream &out) const
 
void resetStats ()
 Reset statistics associated with this object. More...
 
void collateStats ()
 
void regStats ()
 Register statistics for this object. 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)
 
int outstandingCount () const
 
bool isDeadlockEventScheduled () const
 
void descheduleDeadlockEvent ()
 
bool empty () const
 
void print (std::ostream &out) const
 
void checkCoherence (Addr address)
 
void markRemoved ()
 
void removeRequest (GPUCoalescerRequest *request)
 
void evictionCallback (Addr address)
 
void completeIssue ()
 
void insertKernel (int wavefront_id, PacketPtr pkt)
 
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...
 
BaseMasterPortgetMasterPort (const std::string &if_name, PortID idx=InvalidPortID) override
 Get a master port with a given name and index. More...
 
BaseSlavePortgetSlavePort (const std::string &if_name, PortID idx=InvalidPortID) override
 Get a slave 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 ()
 
- Public Member Functions inherited from MemObject
const Paramsparams () const
 
 MemObject (const Params *params)
 
- 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...
 
Enums::PwrState pwrState () const
 
std::string pwrStateName () const
 
std::vector< double > pwrStateWeights () const
 Returns the percentage residency for each power state. More...
 
void computeStats ()
 Record stats values like state residency by computing the time difference from previous update. More...
 
void pwrState (Enums::PwrState)
 
void regStats () override
 Register statistics for this object. More...
 
- Public Member Functions inherited from SimObject
const Paramsparams () const
 
 SimObject (const Params *_params)
 
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...
 
- Public Member Functions inherited from EventManager
 EventManager (EventManager &em)
 
 EventManager (EventManager *em)
 
 EventManager (EventQueue *eq)
 
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)
 
- 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 Clocked
void updateClockPeriod () const
 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 Types

typedef std::unordered_map
< Addr, std::vector
< RequestDesc > > 
CoalescingTable
 
typedef std::unordered_map
< Addr, GPUCoalescerRequest * > 
RequestTable
 

Protected Member Functions

bool tryCacheAccess (Addr addr, RubyRequestType type, Addr pc, RubyAccessMode access_mode, int size, DataBlock *&data_ptr)
 
virtual void issueRequest (PacketPtr pkt, RubyRequestType type)
 
void kernelCallback (int wavfront_id)
 
void hitCallback (GPUCoalescerRequest *request, MachineType mach, DataBlock &data, bool success, Cycles initialRequestTime, Cycles forwardRequestTime, Cycles firstResponseTime, bool isRegion)
 
void recordMissLatency (GPUCoalescerRequest *request, MachineType mach, Cycles initialRequestTime, Cycles forwardRequestTime, Cycles firstResponseTime, bool success, bool isRegion)
 
void completeHitCallback (std::vector< PacketPtr > &mylist, int len)
 
PacketPtr mapAddrToPkt (Addr address)
 
RequestStatus getRequestStatus (PacketPtr pkt, RubyRequestType request_type)
 
bool insertRequest (PacketPtr pkt, RubyRequestType request_type)
 
bool handleLlsc (Addr address, GPUCoalescerRequest *request)
 
- 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...
 

Protected Attributes

IssueEvent issueEvent
 
int m_max_outstanding_requests
 
int m_deadlock_threshold
 
CacheMemorym_dataCache_ptr
 
CacheMemorym_instCache_ptr
 
Cycles m_data_cache_hit_latency
 
CoalescingTable reqCoalescer
 
std::vector< AddrnewRequests
 
RequestTable m_writeRequestTable
 
RequestTable m_readRequestTable
 
int m_outstanding_count
 
bool m_deadlock_check_scheduled
 
std::unordered_map< int,
PacketPtr
kernelEndList
 
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
 
GPUCoalescerWakeupEvent 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 ClockedObject
Enums::PwrState _currPwrState
 To keep track of the current power state. More...
 
Tick prvEvalTick
 
Stats::Scalar numPwrStateTransitions
 
Stats::Distribution pwrStateClkGateDist
 
Stats::Vector pwrStateResidencyTicks
 
- 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)
 

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 ()
 Get the fully-qualified name of the active section. More...
 
static void serializeAll (const std::string &cpt_dir)
 
static void unserializeGlobals (CheckpointIn &cp)
 
- Static Public Attributes inherited from Serializable
static int ckptCount = 0
 
static int ckptMaxCount = 0
 
static int ckptPrevCount = -1
 

Detailed Description

Definition at line 96 of file GPUCoalescer.hh.

Member Typedef Documentation

typedef std::unordered_map<Addr, std::vector<RequestDesc> > GPUCoalescer::CoalescingTable
protected

Definition at line 288 of file GPUCoalescer.hh.

typedef RubyGPUCoalescerParams GPUCoalescer::Params

Definition at line 99 of file GPUCoalescer.hh.

typedef std::unordered_map<Addr, GPUCoalescerRequest*> GPUCoalescer::RequestTable
protected

Definition at line 292 of file GPUCoalescer.hh.

Constructor & Destructor Documentation

GPUCoalescer::GPUCoalescer ( const Params p)
GPUCoalescer::~GPUCoalescer ( )

Definition at line 149 of file GPUCoalescer.cc.

GPUCoalescer::GPUCoalescer ( const GPUCoalescer obj)
private

Member Function Documentation

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

Definition at line 986 of file GPUCoalescer.cc.

References RubyPort::m_ruby_system.

void GPUCoalescer::collateStats ( )
void GPUCoalescer::completeHitCallback ( std::vector< PacketPtr > &  mylist,
int  len 
)
protected
void GPUCoalescer::completeIssue ( )
void GPUCoalescer::descheduleDeadlockEvent ( )
inlinevirtual

Implements RubyPort.

Definition at line 173 of file GPUCoalescer.hh.

References deadlockCheckEvent, and EventManager::deschedule().

bool GPUCoalescer::empty ( ) const

Definition at line 680 of file GPUCoalescer.cc.

References m_readRequestTable, and m_writeRequestTable.

void GPUCoalescer::evictionCallback ( Addr  address)

Definition at line 1057 of file GPUCoalescer.cc.

References RubyPort::ruby_eviction_callback().

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

Definition at line 221 of file GPUCoalescer.hh.

References m_FirstResponseToCompletionDelayHist, and ArmISA::t.

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

Definition at line 217 of file GPUCoalescer.hh.

References m_ForwardToFirstResponseDelayHist, and ArmISA::t.

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

Definition at line 213 of file GPUCoalescer.hh.

References m_InitialToForwardDelayHist, and ArmISA::t.

Referenced by Profiler::collateStats().

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

Definition at line 209 of file GPUCoalescer.hh.

References m_IssueToInitialDelayHist, and ArmISA::t.

Referenced by Profiler::collateStats().

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

Definition at line 193 of file GPUCoalescer.hh.

References m_latencyHist.

Referenced by Profiler::collateStats().

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

Definition at line 197 of file GPUCoalescer.hh.

References m_missLatencyHist.

Referenced by Profiler::collateStats().

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

Definition at line 202 of file GPUCoalescer.hh.

References m_missMachLatencyHist, and ArmISA::t.

Referenced by Profiler::collateStats().

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

Definition at line 199 of file GPUCoalescer.hh.

References m_missTypeLatencyHist, and ArmISA::t.

Referenced by Profiler::collateStats().

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

Definition at line 206 of file GPUCoalescer.hh.

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

Referenced by Profiler::collateStats().

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

Definition at line 191 of file GPUCoalescer.hh.

References m_outstandReqHist.

Referenced by Profiler::collateStats().

RequestStatus GPUCoalescer::getRequestStatus ( PacketPtr  pkt,
RubyRequestType  request_type 
)
protected
Stats::Histogram& GPUCoalescer::getTypeLatencyHist ( uint32_t  t)
inline

Definition at line 194 of file GPUCoalescer.hh.

References m_typeLatencyHist, and ArmISA::t.

Referenced by Profiler::collateStats().

bool GPUCoalescer::handleLlsc ( Addr  address,
GPUCoalescerRequest request 
)
protected
void GPUCoalescer::hitCallback ( GPUCoalescerRequest request,
MachineType  mach,
DataBlock data,
bool  success,
Cycles  initialRequestTime,
Cycles  forwardRequestTime,
Cycles  firstResponseTime,
bool  isRegion 
)
protected
void GPUCoalescer::insertKernel ( int  wavefront_id,
PacketPtr  pkt 
)

Definition at line 294 of file GPUCoalescer.cc.

References DPRINTF, and kernelEndList.

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

bool GPUCoalescer::insertRequest ( PacketPtr  pkt,
RubyRequestType  request_type 
)
protected
bool GPUCoalescer::isDeadlockEventScheduled ( ) const
inlinevirtual

Implements RubyPort.

Definition at line 167 of file GPUCoalescer.hh.

References deadlockCheckEvent, and Event::scheduled().

void GPUCoalescer::issueRequest ( PacketPtr  pkt,
RubyRequestType  type 
)
protectedvirtual
void GPUCoalescer::kernelCallback ( int  wavfront_id)
protected

Definition at line 1063 of file GPUCoalescer.cc.

References kernelEndList, and RubyPort::ruby_hit_callback().

Referenced by completeIssue().

RequestStatus GPUCoalescer::makeRequest ( PacketPtr  pkt)
virtual
PacketPtr GPUCoalescer::mapAddrToPkt ( Addr  address)
protected

Definition at line 1194 of file GPUCoalescer.cc.

References ArmISA::i, m_readRequestTable, and GPUCoalescerRequest::pkt.

void GPUCoalescer::markRemoved ( )
GPUCoalescer& GPUCoalescer::operator= ( const GPUCoalescer obj)
private
int GPUCoalescer::outstandingCount ( ) const
inlinevirtual

Implements RubyPort.

Definition at line 164 of file GPUCoalescer.hh.

References m_outstanding_count.

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

Definition at line 973 of file GPUCoalescer.cc.

References m_outstanding_count, m_readRequestTable, RubyPort::m_version, and m_writeRequestTable.

Referenced by operator<<().

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

Definition at line 229 of file GPUCoalescer.cc.

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

Definition at line 537 of file GPUCoalescer.cc.

Referenced by readCallback().

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

Definition at line 543 of file GPUCoalescer.cc.

References readCallback().

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

Definition at line 551 of file GPUCoalescer.cc.

References readCallback().

void GPUCoalescer::readCallback ( Addr  address,
MachineType  mach,
DataBlock data,
Cycles  initialRequestTime,
Cycles  forwardRequestTime,
Cycles  firstResponseTime,
bool  isRegion 
)
void GPUCoalescer::recordCPReadCallBack ( MachineID  myMachID,
MachineID  senderMachID 
)
void GPUCoalescer::recordCPWriteCallBack ( MachineID  myMachID,
MachineID  senderMachID 
)
void GPUCoalescer::recordMissLatency ( GPUCoalescerRequest request,
MachineType  mach,
Cycles  initialRequestTime,
Cycles  forwardRequestTime,
Cycles  firstResponseTime,
bool  success,
bool  isRegion 
)
protected
void GPUCoalescer::recordRequestType ( SequencerRequestType  requestType)

Definition at line 994 of file GPUCoalescer.cc.

References DPRINTF.

void GPUCoalescer::regStats ( )
virtual
void GPUCoalescer::removeRequest ( GPUCoalescerRequest request)
void GPUCoalescer::resetStats ( )
virtual
bool GPUCoalescer::tryCacheAccess ( Addr  addr,
RubyRequestType  type,
Addr  pc,
RubyAccessMode  access_mode,
int  size,
DataBlock *&  data_ptr 
)
protected
void GPUCoalescer::wakeup ( )
void GPUCoalescer::writeCallback ( Addr  address,
DataBlock data 
)

Definition at line 455 of file GPUCoalescer.cc.

Referenced by writeCallback().

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

Definition at line 461 of file GPUCoalescer.cc.

References writeCallback().

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

Definition at line 469 of file GPUCoalescer.cc.

References writeCallback().

Member Data Documentation

bool GPUCoalescer::assumingRfOCoherence
protected

Definition at line 324 of file GPUCoalescer.hh.

Referenced by GPUCoalescer(), and makeRequest().

Stats::Scalar GPUCoalescer::CP_LdMiss
protected

Definition at line 340 of file GPUCoalescer.hh.

Referenced by recordCPReadCallBack(), and regStats().

Stats::Scalar GPUCoalescer::CP_StMiss
protected

Definition at line 345 of file GPUCoalescer.hh.

Referenced by recordCPWriteCallBack(), and regStats().

Stats::Scalar GPUCoalescer::CP_TCCLdHits
protected

Definition at line 339 of file GPUCoalescer.hh.

Referenced by recordCPReadCallBack(), and regStats().

Stats::Scalar GPUCoalescer::CP_TCCStHits
protected

Definition at line 344 of file GPUCoalescer.hh.

Referenced by recordCPWriteCallBack(), and regStats().

Stats::Scalar GPUCoalescer::CP_TCPLdHits
protected

Definition at line 337 of file GPUCoalescer.hh.

Referenced by recordCPReadCallBack(), and regStats().

Stats::Scalar GPUCoalescer::CP_TCPLdTransfers
protected

Definition at line 338 of file GPUCoalescer.hh.

Referenced by recordCPReadCallBack(), and regStats().

Stats::Scalar GPUCoalescer::CP_TCPStHits
protected

Definition at line 342 of file GPUCoalescer.hh.

Referenced by recordCPWriteCallBack(), and regStats().

Stats::Scalar GPUCoalescer::CP_TCPStTransfers
protected

Definition at line 343 of file GPUCoalescer.hh.

Referenced by recordCPWriteCallBack(), and regStats().

GPUCoalescerWakeupEvent GPUCoalescer::deadlockCheckEvent
protected
Stats::Scalar GPUCoalescer::GPU_LdMiss
protected

Definition at line 330 of file GPUCoalescer.hh.

Referenced by recordMissLatency(), and regStats().

Stats::Scalar GPUCoalescer::GPU_StMiss
protected

Definition at line 335 of file GPUCoalescer.hh.

Referenced by recordMissLatency(), and regStats().

Stats::Scalar GPUCoalescer::GPU_TCCLdHits
protected

Definition at line 329 of file GPUCoalescer.hh.

Referenced by recordMissLatency(), and regStats().

Stats::Scalar GPUCoalescer::GPU_TCCStHits
protected

Definition at line 334 of file GPUCoalescer.hh.

Referenced by recordMissLatency(), and regStats().

Stats::Scalar GPUCoalescer::GPU_TCPLdHits
protected

Definition at line 327 of file GPUCoalescer.hh.

Referenced by recordMissLatency(), and regStats().

Stats::Scalar GPUCoalescer::GPU_TCPLdTransfers
protected

Definition at line 328 of file GPUCoalescer.hh.

Referenced by recordMissLatency(), and regStats().

Stats::Scalar GPUCoalescer::GPU_TCPStHits
protected

Definition at line 332 of file GPUCoalescer.hh.

Referenced by recordMissLatency(), and regStats().

Stats::Scalar GPUCoalescer::GPU_TCPStTransfers
protected

Definition at line 333 of file GPUCoalescer.hh.

Referenced by recordMissLatency(), and regStats().

IssueEvent GPUCoalescer::issueEvent
protected

Definition at line 268 of file GPUCoalescer.hh.

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

std::unordered_map<int, PacketPtr> GPUCoalescer::kernelEndList
protected
Cycles GPUCoalescer::m_data_cache_hit_latency
protected
CacheMemory* GPUCoalescer::m_dataCache_ptr
protected
bool GPUCoalescer::m_deadlock_check_scheduled
protected

Definition at line 297 of file GPUCoalescer.hh.

int GPUCoalescer::m_deadlock_threshold
protected

Definition at line 274 of file GPUCoalescer.hh.

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

std::vector<Stats::Histogram *> GPUCoalescer::m_FirstResponseToCompletionDelayHist
protected
std::vector<Stats::Histogram *> GPUCoalescer::m_ForwardToFirstResponseDelayHist
protected
std::vector<Stats::Histogram *> GPUCoalescer::m_InitialToForwardDelayHist
protected
CacheMemory* GPUCoalescer::m_instCache_ptr
protected

Definition at line 277 of file GPUCoalescer.hh.

Referenced by GPUCoalescer(), and hitCallback().

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

Histograms for recording the breakdown of miss latency.

Definition at line 365 of file GPUCoalescer.hh.

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

Stats::Histogram GPUCoalescer::m_latencyHist
protected

Histogram for holding latency profile of all requests.

Definition at line 351 of file GPUCoalescer.hh.

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

int GPUCoalescer::m_load_waiting_on_load_cycles
protected

Definition at line 304 of file GPUCoalescer.hh.

Referenced by getRequestStatus(), and GPUCoalescer().

int GPUCoalescer::m_load_waiting_on_store_cycles
protected

Definition at line 303 of file GPUCoalescer.hh.

Referenced by getRequestStatus(), and GPUCoalescer().

int GPUCoalescer::m_max_outstanding_requests
protected

Definition at line 273 of file GPUCoalescer.hh.

Referenced by GPUCoalescer(), and makeRequest().

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 356 of file GPUCoalescer.hh.

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

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

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

Definition at line 361 of file GPUCoalescer.hh.

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

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

Definition at line 357 of file GPUCoalescer.hh.

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

std::vector< std::vector<Stats::Histogram *> > GPUCoalescer::m_missTypeMachLatencyHist
protected
int GPUCoalescer::m_outstanding_count
protected
Stats::Histogram GPUCoalescer::m_outstandReqHist
protected

Histogram for number of outstanding requests per cycle.

Definition at line 348 of file GPUCoalescer.hh.

Referenced by getOutstandReqHist(), insertRequest(), and regStats().

RequestTable GPUCoalescer::m_readRequestTable
protected
bool GPUCoalescer::m_runningGarnetStandalone
protected

Definition at line 306 of file GPUCoalescer.hh.

Referenced by GPUCoalescer(), and writeCallback().

int GPUCoalescer::m_store_waiting_on_load_cycles
protected

Definition at line 301 of file GPUCoalescer.hh.

Referenced by getRequestStatus(), and GPUCoalescer().

int GPUCoalescer::m_store_waiting_on_store_cycles
protected

Definition at line 302 of file GPUCoalescer.hh.

Referenced by getRequestStatus(), and GPUCoalescer().

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

Definition at line 352 of file GPUCoalescer.hh.

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

RequestTable GPUCoalescer::m_writeRequestTable
protected
std::vector<int> GPUCoalescer::newKernelEnds
protected
std::vector<Addr> GPUCoalescer::newRequests
protected

Definition at line 290 of file GPUCoalescer.hh.

Referenced by completeIssue(), and makeRequest().

CoalescingTable GPUCoalescer::reqCoalescer
protected

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

Generated on Fri Jun 9 2017 13:04:11 for gem5 by doxygen 1.8.6