gem5  v21.1.0.2
Classes | Public Types | Public Member Functions | Protected Member Functions | Protected Attributes | Private Member Functions | Private Attributes | List of all members
gem5::ruby::GPUCoalescer Class Referenceabstract

#include <GPUCoalescer.hh>

Inheritance diagram for gem5::ruby::GPUCoalescer:
gem5::ruby::RubyPort gem5::ClockedObject gem5::SimObject gem5::Clocked gem5::EventManager gem5::Serializable gem5::Drainable gem5::statistics::Group gem5::Named gem5::ruby::VIPERCoalescer

Classes

class  GMTokenPort
 

Public Types

typedef RubyGPUCoalescerParams Params
 
- Public Types inherited from gem5::ruby::RubyPort
typedef RubyPortParams Params
 
- Public Types inherited from gem5::ClockedObject
using Params = ClockedObjectParams
 Parameters of ClockedObject. More...
 
- Public Types inherited from gem5::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 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 writeCompleteCallback (Addr address, uint64_t instSeqNum, MachineType mach)
 
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)
 
virtual void atomicCallback (Addr address, MachineType mach, const DataBlock &data)
 
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 ()
 
statistics::HistogramgetOutstandReqHist ()
 
statistics::HistogramgetLatencyHist ()
 
statistics::HistogramgetTypeLatencyHist (uint32_t t)
 
statistics::HistogramgetMissLatencyHist ()
 
statistics::HistogramgetMissTypeLatencyHist (uint32_t t)
 
statistics::HistogramgetMissMachLatencyHist (uint32_t t) const
 
statistics::HistogramgetMissTypeMachLatencyHist (uint32_t r, uint32_t t) const
 
statistics::HistogramgetIssueToInitialDelayHist (uint32_t t) const
 
statistics::HistogramgetInitialToForwardDelayHist (const MachineType t) const
 
statistics::HistogramgetForwardRequestToFirstResponseHist (const MachineType t) const
 
statistics::HistogramgetFirstResponseToCompletionDelayHist (const MachineType t) const
 
- Public Member Functions inherited from gem5::ruby::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
 Draining is the process of clearing out the states of SimObjects.These are the SimObjects that are partially executed or are partially in flight. More...
 
bool isCPUSequencer ()
 
virtual int functionalWrite (Packet *func_pkt)
 
- Public Member Functions inherited from gem5::ClockedObject
 ClockedObject (const ClockedObjectParams &p)
 
void serialize (CheckpointOut &cp) const override
 Serialize an object. More...
 
void unserialize (CheckpointIn &cp) override
 Unserialize an object. More...
 
- Public Member Functions inherited from gem5::SimObject
const Paramsparams () const
 
 SimObject (const Params &p)
 
virtual ~SimObject ()
 
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 gem5::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)
 This function is not needed by the usual gem5 event loop but may be necessary in derived EventQueues which host gem5 on other schedulers. More...
 
void setCurTick (Tick newVal)
 
 EventManager (EventManager &em)
 Event manger manages events in the event queue. More...
 
 EventManager (EventManager *em)
 
 EventManager (EventQueue *eq)
 
- Public Member Functions inherited from gem5::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 gem5::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 gem5::statistics::Group
 Group (Group *parent, const char *name=nullptr)
 Construct a new statistics group. More...
 
virtual ~Group ()
 
virtual void regStats ()
 Callback to set stat parameters. More...
 
virtual void preDumpStats ()
 Callback before stats are dumped. More...
 
void addStat (statistics::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...
 
void mergeStatGroup (Group *block)
 Merge the contents (stats & children) of a block to this block. More...
 
 Group ()=delete
 
 Group (const Group &)=delete
 
Groupoperator= (const Group &)=delete
 
- Public Member Functions inherited from gem5::Named
 Named (const std::string &name_)
 
virtual ~Named ()=default
 
virtual std::string name () const
 
- Public Member Functions inherited from gem5::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)=0
 
virtual void issueMemSyncRequest (PacketPtr pkt)
 
void kernelCallback (int wavefront_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)
 
GPUDynInstPtr getDynInst (PacketPtr pkt) const
 
bool coalescePacket (PacketPtr pkt)
 
- Protected Member Functions inherited from gem5::ruby::RubyPort
void trySendRetries ()
 
void ruby_hit_callback (PacketPtr pkt)
 
void testDrainComplete ()
 
void ruby_eviction_callback (Addr address)
 
bool recvTimingResp (PacketPtr pkt, PortID request_port_id)
 Called by the PIO port when receiving a timing response. More...
 
- Protected Member Functions inherited from gem5::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 gem5::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
 
std::unordered_map< uint64_t, std::deque< CoalescedRequest * > > coalescedReqs
 
std::unordered_map< uint64_t, PendingWriteInstpendingWriteInsts
 
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
 
statistics::Histogram m_outstandReqHist
 Histogram for number of outstanding requests per cycle. More...
 
statistics::Histogram m_latencyHist
 Histogram for holding latency profile of all requests. More...
 
std::vector< statistics::Histogram * > m_typeLatencyHist
 
statistics::Histogram m_missLatencyHist
 Histogram for holding latency profile of all requests that miss in the controller connected to this sequencer. More...
 
std::vector< statistics::Histogram * > m_missTypeLatencyHist
 
std::vector< statistics::Histogram * > m_missMachLatencyHist
 Histograms for profiling the latencies for requests that required external messages. More...
 
std::vector< std::vector< statistics::Histogram * > > m_missTypeMachLatencyHist
 
std::vector< statistics::Histogram * > m_IssueToInitialDelayHist
 Histograms for recording the breakdown of miss latency. More...
 
std::vector< statistics::Histogram * > m_InitialToForwardDelayHist
 
std::vector< statistics::Histogram * > m_ForwardToFirstResponseDelayHist
 
std::vector< statistics::Histogram * > m_FirstResponseToCompletionDelayHist
 
- Protected Attributes inherited from gem5::ruby::RubyPort
RubySystemm_ruby_system
 
uint32_t m_version
 
AbstractControllerm_controller
 
MessageBufferm_mandatory_q_ptr
 
bool m_usingRubyTester
 
Systemsystem
 
std::vector< MemResponsePort * > response_ports
 
- Protected Attributes inherited from gem5::SimObject
const SimObjectParams & _params
 Cached copy of the object parameters. More...
 
- Protected Attributes inherited from gem5::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 gem5::SimObject
static void serializeAll (const std::string &cpt_dir)
 Create a checkpoint by serializing 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 void setSimObjectResolver (SimObjectResolver *resolver)
 There is a single object name resolver, and it is only set when simulation is restoring from checkpoints. More...
 
static SimObjectResolvergetSimObjectResolver ()
 There is a single object name resolver, and it is only set when simulation is restoring from checkpoints. More...
 
- Static Public Member Functions inherited from gem5::Serializable
static const std::string & currentSection ()
 Gets the fully-qualified name of the active section. More...
 
static void generateCheckpointOut (const std::string &cpt_dir, std::ofstream &outstream)
 Generate a checkpoint file so that the serialization can be routed to it. More...
 
- Public Attributes inherited from gem5::ClockedObject
PowerStatepowerState
 

Detailed Description

Definition at line 215 of file GPUCoalescer.hh.

Member Typedef Documentation

◆ Params

typedef RubyGPUCoalescerParams gem5::ruby::GPUCoalescer::Params

Definition at line 238 of file GPUCoalescer.hh.

Constructor & Destructor Documentation

◆ GPUCoalescer() [1/2]

gem5::ruby::GPUCoalescer::GPUCoalescer ( const Params p)

Definition at line 189 of file GPUCoalescer.cc.

References completeIssue().

◆ ~GPUCoalescer()

gem5::ruby::GPUCoalescer::~GPUCoalescer ( )

Definition at line 270 of file GPUCoalescer.cc.

◆ GPUCoalescer() [2/2]

gem5::ruby::GPUCoalescer::GPUCoalescer ( const GPUCoalescer obj)
private

Member Function Documentation

◆ atomicCallback()

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

◆ coalescePacket()

bool gem5::ruby::GPUCoalescer::coalescePacket ( PacketPtr  pkt)
protected

◆ collateStats()

void gem5::ruby::GPUCoalescer::collateStats ( )

◆ completeHitCallback()

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

◆ completeIssue()

void gem5::ruby::GPUCoalescer::completeIssue ( )

◆ descheduleDeadlockEvent()

void gem5::ruby::GPUCoalescer::descheduleDeadlockEvent ( )
inlineoverridevirtual

Implements gem5::ruby::RubyPort.

Definition at line 326 of file GPUCoalescer.hh.

References deadlockCheckEvent, and gem5::EventManager::deschedule().

◆ empty()

bool gem5::ruby::GPUCoalescer::empty ( ) const

Definition at line 593 of file GPUCoalescer.cc.

References coalescedTable.

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

◆ evictionCallback()

void gem5::ruby::GPUCoalescer::evictionCallback ( Addr  address)

Definition at line 877 of file GPUCoalescer.cc.

References gem5::ruby::RubyPort::ruby_eviction_callback().

◆ getDynInst()

GPUDynInstPtr gem5::ruby::GPUCoalescer::getDynInst ( PacketPtr  pkt) const
protected

◆ getFirstResponseToCompletionDelayHist()

statistics::Histogram& gem5::ruby::GPUCoalescer::getFirstResponseToCompletionDelayHist ( const MachineType  t) const
inline

◆ getForwardRequestToFirstResponseHist()

statistics::Histogram& gem5::ruby::GPUCoalescer::getForwardRequestToFirstResponseHist ( const MachineType  t) const
inline

◆ getGMTokenPort()

GMTokenPort& gem5::ruby::GPUCoalescer::getGMTokenPort ( )
inline

Definition at line 340 of file GPUCoalescer.hh.

References gmTokenPort.

Referenced by gem5::ruby::UncoalescedTable::updateResources().

◆ getInitialToForwardDelayHist()

statistics::Histogram& gem5::ruby::GPUCoalescer::getInitialToForwardDelayHist ( const MachineType  t) const
inline

Definition at line 364 of file GPUCoalescer.hh.

References m_InitialToForwardDelayHist, and gem5::ArmISA::t.

Referenced by gem5::ruby::Profiler::collateStats().

◆ getIssueToInitialDelayHist()

statistics::Histogram& gem5::ruby::GPUCoalescer::getIssueToInitialDelayHist ( uint32_t  t) const
inline

Definition at line 360 of file GPUCoalescer.hh.

References m_IssueToInitialDelayHist, and gem5::ArmISA::t.

Referenced by gem5::ruby::Profiler::collateStats().

◆ getLatencyHist()

statistics::Histogram& gem5::ruby::GPUCoalescer::getLatencyHist ( )
inline

Definition at line 344 of file GPUCoalescer.hh.

References m_latencyHist.

Referenced by gem5::ruby::Profiler::collateStats().

◆ getMissLatencyHist()

statistics::Histogram& gem5::ruby::GPUCoalescer::getMissLatencyHist ( )
inline

Definition at line 348 of file GPUCoalescer.hh.

References m_missLatencyHist.

Referenced by gem5::ruby::Profiler::collateStats().

◆ getMissMachLatencyHist()

statistics::Histogram& gem5::ruby::GPUCoalescer::getMissMachLatencyHist ( uint32_t  t) const
inline

Definition at line 353 of file GPUCoalescer.hh.

References m_missMachLatencyHist, and gem5::ArmISA::t.

Referenced by gem5::ruby::Profiler::collateStats().

◆ getMissTypeLatencyHist()

statistics::Histogram& gem5::ruby::GPUCoalescer::getMissTypeLatencyHist ( uint32_t  t)
inline

Definition at line 350 of file GPUCoalescer.hh.

References m_missTypeLatencyHist, and gem5::ArmISA::t.

Referenced by gem5::ruby::Profiler::collateStats().

◆ getMissTypeMachLatencyHist()

statistics::Histogram& gem5::ruby::GPUCoalescer::getMissTypeMachLatencyHist ( uint32_t  r,
uint32_t  t 
) const
inline

◆ getOutstandReqHist()

statistics::Histogram& gem5::ruby::GPUCoalescer::getOutstandReqHist ( )
inline

Definition at line 342 of file GPUCoalescer.hh.

References m_outstandReqHist.

Referenced by gem5::ruby::Profiler::collateStats().

◆ getPort()

Port & gem5::ruby::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.

gem5 has a request and response port interface. All memory objects are connected together via ports. These ports provide a rigid interface between these memory objects. These ports implement three different memory system modes: timing, atomic, and functional. The most important mode is the timing mode and here timing mode is used for conducting cycle-level timing experiments. The other modes are only used in special circumstances and should not be used to conduct cycle-level timing experiments. The other modes are only used in special circumstances. These ports allow SimObjects to communicate with each other.

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

Reimplemented from gem5::SimObject.

Definition at line 275 of file GPUCoalescer.cc.

References gem5::ruby::RubyPort::getPort(), and gmTokenPort.

◆ getRequestType()

RubyRequestType gem5::ruby::GPUCoalescer::getRequestType ( PacketPtr  pkt)
protectedvirtual

◆ getTypeLatencyHist()

statistics::Histogram& gem5::ruby::GPUCoalescer::getTypeLatencyHist ( uint32_t  t)
inline

Definition at line 345 of file GPUCoalescer.hh.

References m_typeLatencyHist, and gem5::ArmISA::t.

Referenced by gem5::ruby::Profiler::collateStats().

◆ hitCallback()

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

◆ insertKernel()

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

Definition at line 367 of file GPUCoalescer.cc.

References DPRINTF, and kernelEndList.

◆ isDeadlockEventScheduled()

bool gem5::ruby::GPUCoalescer::isDeadlockEventScheduled ( ) const
inlineoverridevirtual

Implements gem5::ruby::RubyPort.

Definition at line 320 of file GPUCoalescer.hh.

References deadlockCheckEvent, and gem5::Event::scheduled().

◆ issueMemSyncRequest()

virtual void gem5::ruby::GPUCoalescer::issueMemSyncRequest ( PacketPtr  pkt)
inlineprotectedvirtual

Definition at line 383 of file GPUCoalescer.hh.

Referenced by makeRequest().

◆ issueRequest()

virtual void gem5::ruby::GPUCoalescer::issueRequest ( CoalescedRequest crequest)
protectedpure virtual

◆ kernelCallback()

void gem5::ruby::GPUCoalescer::kernelCallback ( int  wavefront_id)
protected

Definition at line 883 of file GPUCoalescer.cc.

References kernelEndList, and gem5::ruby::RubyPort::ruby_hit_callback().

Referenced by completeIssue().

◆ makeRequest()

RequestStatus gem5::ruby::GPUCoalescer::makeRequest ( PacketPtr  pkt)
overridevirtual

◆ operator=()

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

◆ outstandingCount()

int gem5::ruby::GPUCoalescer::outstandingCount ( ) const
inlineoverridevirtual

Implements gem5::ruby::RubyPort.

Definition at line 317 of file GPUCoalescer.hh.

References m_outstanding_count.

◆ print()

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

Definition at line 691 of file GPUCoalescer.cc.

References m_outstanding_count, and gem5::ruby::RubyPort::m_version.

Referenced by gem5::ruby::operator<<().

◆ printProgress()

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

Definition at line 361 of file GPUCoalescer.cc.

◆ printRequestTable()

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

◆ readCallback() [1/4]

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

Definition at line 467 of file GPUCoalescer.cc.

References data.

Referenced by readCallback().

◆ readCallback() [2/4]

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

Definition at line 473 of file GPUCoalescer.cc.

References data, and readCallback().

◆ readCallback() [3/4]

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

Definition at line 481 of file GPUCoalescer.cc.

References data, and readCallback().

◆ readCallback() [4/4]

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

◆ recordMissLatency()

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

Definition at line 955 of file GPUCoalescer.cc.

Referenced by hitCallback().

◆ resetStats()

void gem5::ruby::GPUCoalescer::resetStats ( )
overridevirtual

◆ tryCacheAccess()

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

◆ wakeup()

void gem5::ruby::GPUCoalescer::wakeup ( )

◆ writeCallback() [1/4]

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

Definition at line 381 of file GPUCoalescer.cc.

References data.

Referenced by writeCallback().

◆ writeCallback() [2/4]

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

Definition at line 387 of file GPUCoalescer.cc.

References data, and writeCallback().

◆ writeCallback() [3/4]

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

Definition at line 395 of file GPUCoalescer.cc.

References data, and writeCallback().

◆ writeCallback() [4/4]

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

◆ writeCompleteCallback()

void gem5::ruby::GPUCoalescer::writeCompleteCallback ( Addr  address,
uint64_t  instSeqNum,
MachineType  mach 
)

Member Data Documentation

◆ assumingRfOCoherence

bool gem5::ruby::GPUCoalescer::assumingRfOCoherence
protected

Definition at line 462 of file GPUCoalescer.hh.

◆ coalescedReqs

std::unordered_map<uint64_t, std::deque<CoalescedRequest*> > gem5::ruby::GPUCoalescer::coalescedReqs
protected

Definition at line 441 of file GPUCoalescer.hh.

Referenced by coalescePacket(), and completeIssue().

◆ coalescedTable

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

◆ coalescingWindow

int gem5::ruby::GPUCoalescer::coalescingWindow
protected

Definition at line 425 of file GPUCoalescer.hh.

Referenced by completeIssue().

◆ deadlockCheckEvent

EventFunctionWrapper gem5::ruby::GPUCoalescer::deadlockCheckEvent
protected

◆ gmTokenPort

GMTokenPort gem5::ruby::GPUCoalescer::gmTokenPort
private

Definition at line 530 of file GPUCoalescer.hh.

Referenced by getGMTokenPort(), and getPort().

◆ issueEvent

EventFunctionWrapper gem5::ruby::GPUCoalescer::issueEvent
protected

Definition at line 414 of file GPUCoalescer.hh.

Referenced by completeHitCallback(), and makeRequest().

◆ kernelEndList

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

Definition at line 451 of file GPUCoalescer.hh.

Referenced by insertKernel(), and kernelCallback().

◆ m_dataCache_ptr

CacheMemory* gem5::ruby::GPUCoalescer::m_dataCache_ptr
protected

Definition at line 420 of file GPUCoalescer.hh.

Referenced by gem5::ruby::VIPERCoalescer::invTCP().

◆ m_deadlock_check_scheduled

bool gem5::ruby::GPUCoalescer::m_deadlock_check_scheduled
protected

Definition at line 450 of file GPUCoalescer.hh.

◆ m_deadlock_threshold

Cycles gem5::ruby::GPUCoalescer::m_deadlock_threshold
protected

Definition at line 418 of file GPUCoalescer.hh.

Referenced by gem5::ruby::VIPERCoalescer::issueRequest(), and wakeup().

◆ m_FirstResponseToCompletionDelayHist

std::vector<statistics::Histogram *> gem5::ruby::GPUCoalescer::m_FirstResponseToCompletionDelayHist
protected

Definition at line 509 of file GPUCoalescer.hh.

Referenced by getFirstResponseToCompletionDelayHist(), and resetStats().

◆ m_ForwardToFirstResponseDelayHist

std::vector<statistics::Histogram *> gem5::ruby::GPUCoalescer::m_ForwardToFirstResponseDelayHist
protected

Definition at line 508 of file GPUCoalescer.hh.

Referenced by getForwardRequestToFirstResponseHist(), and resetStats().

◆ m_InitialToForwardDelayHist

std::vector<statistics::Histogram *> gem5::ruby::GPUCoalescer::m_InitialToForwardDelayHist
protected

Definition at line 507 of file GPUCoalescer.hh.

Referenced by getInitialToForwardDelayHist(), and resetStats().

◆ m_instCache_ptr

CacheMemory* gem5::ruby::GPUCoalescer::m_instCache_ptr
protected

Definition at line 421 of file GPUCoalescer.hh.

◆ m_IssueToInitialDelayHist

std::vector<statistics::Histogram *> gem5::ruby::GPUCoalescer::m_IssueToInitialDelayHist
protected

Histograms for recording the breakdown of miss latency.

Definition at line 506 of file GPUCoalescer.hh.

Referenced by getIssueToInitialDelayHist(), and resetStats().

◆ m_latencyHist

statistics::Histogram gem5::ruby::GPUCoalescer::m_latencyHist
protected

Histogram for holding latency profile of all requests.

Definition at line 491 of file GPUCoalescer.hh.

Referenced by getLatencyHist(), and resetStats().

◆ m_load_waiting_on_load_cycles

int gem5::ruby::GPUCoalescer::m_load_waiting_on_load_cycles
protected

Definition at line 457 of file GPUCoalescer.hh.

◆ m_load_waiting_on_store_cycles

int gem5::ruby::GPUCoalescer::m_load_waiting_on_store_cycles
protected

Definition at line 456 of file GPUCoalescer.hh.

◆ m_max_outstanding_requests

int gem5::ruby::GPUCoalescer::m_max_outstanding_requests
protected

Definition at line 417 of file GPUCoalescer.hh.

Referenced by coalescePacket().

◆ m_missLatencyHist

statistics::Histogram gem5::ruby::GPUCoalescer::m_missLatencyHist
protected

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

Definition at line 496 of file GPUCoalescer.hh.

Referenced by getMissLatencyHist(), and resetStats().

◆ m_missMachLatencyHist

std::vector<statistics::Histogram *> gem5::ruby::GPUCoalescer::m_missMachLatencyHist
protected

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

Definition at line 501 of file GPUCoalescer.hh.

Referenced by getMissMachLatencyHist(), and resetStats().

◆ m_missTypeLatencyHist

std::vector<statistics::Histogram *> gem5::ruby::GPUCoalescer::m_missTypeLatencyHist
protected

Definition at line 497 of file GPUCoalescer.hh.

Referenced by getMissTypeLatencyHist(), and resetStats().

◆ m_missTypeMachLatencyHist

std::vector<std::vector<statistics::Histogram *> > gem5::ruby::GPUCoalescer::m_missTypeMachLatencyHist
protected

Definition at line 503 of file GPUCoalescer.hh.

Referenced by getMissTypeMachLatencyHist(), and resetStats().

◆ m_outstanding_count

int gem5::ruby::GPUCoalescer::m_outstanding_count
protected

Definition at line 449 of file GPUCoalescer.hh.

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

◆ m_outstandReqHist

statistics::Histogram gem5::ruby::GPUCoalescer::m_outstandReqHist
protected

Histogram for number of outstanding requests per cycle.

Definition at line 488 of file GPUCoalescer.hh.

Referenced by getOutstandReqHist().

◆ m_runningGarnetStandalone

bool gem5::ruby::GPUCoalescer::m_runningGarnetStandalone
protected

Definition at line 459 of file GPUCoalescer.hh.

◆ m_store_waiting_on_load_cycles

int gem5::ruby::GPUCoalescer::m_store_waiting_on_load_cycles
protected

Definition at line 454 of file GPUCoalescer.hh.

◆ m_store_waiting_on_store_cycles

int gem5::ruby::GPUCoalescer::m_store_waiting_on_store_cycles
protected

Definition at line 455 of file GPUCoalescer.hh.

◆ m_typeLatencyHist

std::vector<statistics::Histogram *> gem5::ruby::GPUCoalescer::m_typeLatencyHist
protected

Definition at line 492 of file GPUCoalescer.hh.

Referenced by getTypeLatencyHist(), and resetStats().

◆ newKernelEnds

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

Definition at line 452 of file GPUCoalescer.hh.

Referenced by completeIssue().

◆ pendingWriteInsts

std::unordered_map<uint64_t, PendingWriteInst> gem5::ruby::GPUCoalescer::pendingWriteInsts
protected

Definition at line 446 of file GPUCoalescer.hh.

Referenced by coalescePacket(), and writeCompleteCallback().

◆ uncoalescedTable

UncoalescedTable gem5::ruby::GPUCoalescer::uncoalescedTable
protected

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

Generated on Tue Sep 21 2021 12:32:04 for gem5 by doxygen 1.8.17