gem5 v24.0.0.0
Loading...
Searching...
No Matches
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 67 of file misc.hh.

Constructor & Destructor Documentation

◆ WaitClass() [1/2]

gem5::WaitClass::WaitClass ( )
inline

Definition at line 70 of file misc.hh.

◆ WaitClass() [2/2]

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

Definition at line 72 of file misc.hh.

Member Function Documentation

◆ init()

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

Definition at line 76 of file misc.hh.

References clockedObject, and numStages.

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

◆ prerdy()

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

Definition at line 97 of file misc.hh.

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

◆ preset()

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

Definition at line 88 of file misc.hh.

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

◆ rdy()

◆ set()

Member Data Documentation

◆ clockedObject

ClockedObject* gem5::WaitClass::clockedObject
private

Definition at line 110 of file misc.hh.

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

◆ lookAheadAvail

uint64_t gem5::WaitClass::lookAheadAvail
private

Definition at line 108 of file misc.hh.

Referenced by prerdy(), and preset().

◆ numStages

uint64_t gem5::WaitClass::numStages
private

Definition at line 113 of file misc.hh.

Referenced by init(), and preset().

◆ nxtAvail

uint64_t gem5::WaitClass::nxtAvail
private

Definition at line 104 of file misc.hh.

Referenced by rdy(), and set().


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

Generated on Tue Jun 18 2024 16:24:15 for gem5 by doxygen 1.11.0