gem5  v22.0.0.1
Classes | Public Member Functions | Private Attributes | List of all members
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()

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

Definition at line 89 of file ExpectedMap.hh.

Referenced by gem5::ruby::ExpectedMap< RespType, DataType >::clear().

◆ increaseReceived()

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

◆ received()

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

◆ 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

template<typename RespType , typename DataType >
template<typename Type >
std::unordered_map<Type, bool, EnumClassHash> gem5::ruby::ExpectedMap< RespType, DataType >::ExpectedState< Type >::expectedTypes
private

◆ numReceived

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

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

Generated on Sat Jun 18 2022 08:14:32 for gem5 by doxygen 1.8.17