gem5  v20.0.0.3
Public Member Functions | Private Attributes | List of all members
WaitClass Class Reference

#include <misc.hh>

Public Member Functions

 WaitClass ()
 
void init (uint64_t *_tcnt, uint32_t _numStages=0)
 
void set (uint32_t i)
 
void preset (uint32_t delay)
 
bool rdy () const
 
bool prerdy () const
 

Private Attributes

uint64_t nxtAvail
 
uint64_t lookAheadAvail
 
uint64_t * tcnt
 
uint32_t numStages
 

Detailed Description

Definition at line 48 of file misc.hh.

Constructor & Destructor Documentation

◆ WaitClass()

WaitClass::WaitClass ( )
inline

Definition at line 51 of file misc.hh.

Member Function Documentation

◆ init()

void WaitClass::init ( uint64_t *  _tcnt,
uint32_t  _numStages = 0 
)
inline

Definition at line 52 of file misc.hh.

References numStages, and tcnt.

Referenced by ComputeUnit::init().

◆ prerdy()

bool WaitClass::prerdy ( ) const
inline

Definition at line 69 of file misc.hh.

References lookAheadAvail, and tcnt.

◆ preset()

void WaitClass::preset ( uint32_t  delay)
inline

Definition at line 64 of file misc.hh.

References lookAheadAvail, numStages, and tcnt.

◆ rdy()

bool WaitClass::rdy ( ) const
inline

Definition at line 68 of file misc.hh.

References nxtAvail, and tcnt.

Referenced by LocalMemPipeline::exec(), GlobalMemPipeline::exec(), and ComputeUnit::isDone().

◆ set()

void WaitClass::set ( uint32_t  i)
inline

Definition at line 58 of file misc.hh.

References fatal_if, ArmISA::i, nxtAvail, and tcnt.

Referenced by LocalMemPipeline::exec(), and GlobalMemPipeline::exec().

Member Data Documentation

◆ lookAheadAvail

uint64_t WaitClass::lookAheadAvail
private

Definition at line 77 of file misc.hh.

Referenced by prerdy(), and preset().

◆ numStages

uint32_t WaitClass::numStages
private

Definition at line 82 of file misc.hh.

Referenced by init(), and preset().

◆ nxtAvail

uint64_t WaitClass::nxtAvail
private

Definition at line 73 of file misc.hh.

Referenced by rdy(), and set().

◆ tcnt

uint64_t* WaitClass::tcnt
private

Definition at line 79 of file misc.hh.

Referenced by init(), prerdy(), preset(), rdy(), and set().


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

Generated on Fri Jul 3 2020 15:53:22 for gem5 by doxygen 1.8.13