gem5 v24.0.0.0
Loading...
Searching...
No Matches
gem5::ruby::ExpectedMap< RespType, DataType >::ExpectedState< Type > Struct Template Reference

Classes

struct  EnumClassHash
 

Public Member Functions

 ExpectedState ()
 
void clear (int msg_chunks)
 
void addExpectedType (const Type &val)
 
int received () const
 
bool increaseReceived (const Type &val)
 
bool receivedType (const Type &val) const
 

Private Attributes

int chunks
 
int currChunk
 
int numReceived
 
std::unordered_map< Type, bool, EnumClassHashexpectedTypes
 

Detailed Description

template<typename RespType, typename DataType>
template<typename Type>
struct gem5::ruby::ExpectedMap< RespType, DataType >::ExpectedState< Type >

Definition at line 64 of file ExpectedMap.hh.

Constructor & Destructor Documentation

◆ ExpectedState()

template<typename RespType , typename DataType >
template<typename Type >
gem5::ruby::ExpectedMap< RespType, DataType >::ExpectedState< Type >::ExpectedState ( )
inline

Definition at line 84 of file ExpectedMap.hh.

Member Function Documentation

◆ addExpectedType()

template<typename RespType , typename DataType >
template<typename Type >
void gem5::ruby::ExpectedMap< RespType, DataType >::ExpectedState< Type >::addExpectedType ( const Type & val)
inline

◆ clear()

◆ increaseReceived()

◆ received()

◆ receivedType()

template<typename RespType , typename DataType >
template<typename Type >
bool gem5::ruby::ExpectedMap< RespType, DataType >::ExpectedState< Type >::receivedType ( const Type & val) const
inline

Member Data Documentation

◆ chunks

template<typename RespType , typename DataType >
template<typename Type >
int gem5::ruby::ExpectedMap< RespType, DataType >::ExpectedState< Type >::chunks
private

◆ currChunk

template<typename RespType , typename DataType >
template<typename Type >
int gem5::ruby::ExpectedMap< RespType, DataType >::ExpectedState< Type >::currChunk
private

◆ expectedTypes

◆ numReceived


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

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