gem5  v20.1.0.0
Public Member Functions | Private Attributes | List of all members
ScalarMemPipeline Class Reference

#include <scalar_memory_pipeline.hh>

Public Member Functions

 ScalarMemPipeline (const ComputeUnitParams *p, ComputeUnit &cu)
 
void exec ()
 
std::queue< GPUDynInstPtr > & getGMReqFIFO ()
 
std::queue< GPUDynInstPtr > & getGMStRespFIFO ()
 
std::queue< GPUDynInstPtr > & getGMLdRespFIFO ()
 
bool isGMLdRespFIFOWrRdy () const
 
bool isGMStRespFIFOWrRdy () const
 
bool isGMReqFIFOWrRdy (uint32_t pendReqs=0) const
 
const std::string & name () const
 
void regStats ()
 

Private Attributes

ComputeUnitcomputeUnit
 
const std::string _name
 
int queueSize
 
int inflightStores
 
int inflightLoads
 
std::queue< GPUDynInstPtrissuedRequests
 
std::queue< GPUDynInstPtrreturnedStores
 
std::queue< GPUDynInstPtrreturnedLoads
 

Detailed Description

Definition at line 59 of file scalar_memory_pipeline.hh.

Constructor & Destructor Documentation

◆ ScalarMemPipeline()

ScalarMemPipeline::ScalarMemPipeline ( const ComputeUnitParams *  p,
ComputeUnit cu 
)

Definition at line 46 of file scalar_memory_pipeline.cc.

Member Function Documentation

◆ exec()

void ScalarMemPipeline::exec ( )

◆ getGMLdRespFIFO()

std::queue<GPUDynInstPtr>& ScalarMemPipeline::getGMLdRespFIFO ( )
inline

Definition at line 67 of file scalar_memory_pipeline.hh.

References returnedLoads.

◆ getGMReqFIFO()

std::queue<GPUDynInstPtr>& ScalarMemPipeline::getGMReqFIFO ( )
inline

Definition at line 65 of file scalar_memory_pipeline.hh.

References issuedRequests.

◆ getGMStRespFIFO()

std::queue<GPUDynInstPtr>& ScalarMemPipeline::getGMStRespFIFO ( )
inline

Definition at line 66 of file scalar_memory_pipeline.hh.

References returnedStores.

◆ isGMLdRespFIFOWrRdy()

bool ScalarMemPipeline::isGMLdRespFIFOWrRdy ( ) const
inline

Definition at line 70 of file scalar_memory_pipeline.hh.

References queueSize, and returnedLoads.

◆ isGMReqFIFOWrRdy()

bool ScalarMemPipeline::isGMReqFIFOWrRdy ( uint32_t  pendReqs = 0) const
inline

Definition at line 82 of file scalar_memory_pipeline.hh.

References issuedRequests, and queueSize.

Referenced by ScheduleStage::dispatchReady().

◆ isGMStRespFIFOWrRdy()

bool ScalarMemPipeline::isGMStRespFIFOWrRdy ( ) const
inline

Definition at line 76 of file scalar_memory_pipeline.hh.

References queueSize, and returnedStores.

◆ name()

const std::string& ScalarMemPipeline::name ( ) const
inline

Definition at line 87 of file scalar_memory_pipeline.hh.

References _name.

◆ regStats()

void ScalarMemPipeline::regStats ( )

Definition at line 147 of file scalar_memory_pipeline.cc.

Referenced by ComputeUnit::regStats().

Member Data Documentation

◆ _name

const std::string ScalarMemPipeline::_name
private

Definition at line 92 of file scalar_memory_pipeline.hh.

Referenced by name().

◆ computeUnit

ComputeUnit& ScalarMemPipeline::computeUnit
private

Definition at line 91 of file scalar_memory_pipeline.hh.

Referenced by exec().

◆ inflightLoads

int ScalarMemPipeline::inflightLoads
private

Definition at line 98 of file scalar_memory_pipeline.hh.

Referenced by exec().

◆ inflightStores

int ScalarMemPipeline::inflightStores
private

Definition at line 97 of file scalar_memory_pipeline.hh.

Referenced by exec().

◆ issuedRequests

std::queue<GPUDynInstPtr> ScalarMemPipeline::issuedRequests
private

Definition at line 102 of file scalar_memory_pipeline.hh.

Referenced by exec(), getGMReqFIFO(), and isGMReqFIFOWrRdy().

◆ queueSize

int ScalarMemPipeline::queueSize
private

◆ returnedLoads

std::queue<GPUDynInstPtr> ScalarMemPipeline::returnedLoads
private

Definition at line 110 of file scalar_memory_pipeline.hh.

Referenced by exec(), getGMLdRespFIFO(), and isGMLdRespFIFOWrRdy().

◆ returnedStores

std::queue<GPUDynInstPtr> ScalarMemPipeline::returnedStores
private

Definition at line 106 of file scalar_memory_pipeline.hh.

Referenced by exec(), getGMStRespFIFO(), and isGMStRespFIFOWrRdy().


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

Generated on Wed Sep 30 2020 14:02:31 for gem5 by doxygen 1.8.17