gem5  v21.1.0.2
Public Member Functions | Private Attributes | List of all members
gem5::WaitClass Class Reference

#include <misc.hh>

Public Member Functions

 WaitClass ()
 
 WaitClass (ClockedObject *_clockedObject, uint64_t _numStages=0)
 
void init (ClockedObject *_clockedObject, uint64_t _numStages=0)
 
void set (uint64_t i)
 
void preset (uint64_t delay)
 
bool rdy (Cycles cycles=Cycles(0)) const
 
bool prerdy () const
 

Private Attributes

uint64_t nxtAvail
 
uint64_t lookAheadAvail
 
ClockedObjectclockedObject
 
uint64_t numStages
 

Detailed Description

Definition at line 69 of file misc.hh.

Constructor & Destructor Documentation

◆ WaitClass() [1/2]

gem5::WaitClass::WaitClass ( )
inline

Definition at line 72 of file misc.hh.

◆ WaitClass() [2/2]

gem5::WaitClass::WaitClass ( ClockedObject _clockedObject,
uint64_t  _numStages = 0 
)
inline

Definition at line 74 of file misc.hh.

Member Function Documentation

◆ init()

void gem5::WaitClass::init ( ClockedObject _clockedObject,
uint64_t  _numStages = 0 
)
inline

Definition at line 78 of file misc.hh.

References clockedObject, and numStages.

Referenced by gem5::ComputeUnit::init().

◆ prerdy()

bool gem5::WaitClass::prerdy ( ) const
inline

Definition at line 99 of file misc.hh.

References gem5::Clocked::clockEdge(), clockedObject, and lookAheadAvail.

◆ preset()

void gem5::WaitClass::preset ( uint64_t  delay)
inline

Definition at line 90 of file misc.hh.

References gem5::Clocked::clockEdge(), clockedObject, lookAheadAvail, and numStages.

◆ rdy()

bool gem5::WaitClass::rdy ( Cycles  cycles = Cycles(0)) const
inline

◆ set()

void gem5::WaitClass::set ( uint64_t  i)
inline

Member Data Documentation

◆ clockedObject

ClockedObject* gem5::WaitClass::clockedObject
private

Definition at line 112 of file misc.hh.

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

◆ lookAheadAvail

uint64_t gem5::WaitClass::lookAheadAvail
private

Definition at line 110 of file misc.hh.

Referenced by prerdy(), and preset().

◆ numStages

uint64_t gem5::WaitClass::numStages
private

Definition at line 115 of file misc.hh.

Referenced by init(), and preset().

◆ nxtAvail

uint64_t gem5::WaitClass::nxtAvail
private

Definition at line 106 of file misc.hh.

Referenced by rdy(), and set().


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

Generated on Tue Sep 21 2021 12:28:25 for gem5 by doxygen 1.8.17