gem5  v20.1.0.0
Public Member Functions | Public Attributes | List of all members
AtomicOpExch< T > Class Template Reference

#include <amo.hh>

Inheritance diagram for AtomicOpExch< T >:
TypedAtomicOpFunctor< T > AtomicOpFunctor

Public Member Functions

 AtomicOpExch (T _a)
 
void execute (T *b)
 
AtomicOpFunctorclone ()
 
- Public Member Functions inherited from TypedAtomicOpFunctor< T >
void operator() (uint8_t *p)
 
- Public Member Functions inherited from AtomicOpFunctor
virtual ~AtomicOpFunctor ()
 

Public Attributes

a
 

Detailed Description

template<typename T>
class AtomicOpExch< T >

Definition at line 157 of file amo.hh.

Constructor & Destructor Documentation

◆ AtomicOpExch()

template<typename T >
AtomicOpExch< T >::AtomicOpExch ( _a)
inline

Definition at line 161 of file amo.hh.

Referenced by AtomicOpExch< T >::clone().

Member Function Documentation

◆ clone()

template<typename T >
AtomicOpFunctor* AtomicOpExch< T >::clone ( )
inlinevirtual

Implements TypedAtomicOpFunctor< T >.

Definition at line 163 of file amo.hh.

References AtomicOpExch< T >::a, and AtomicOpExch< T >::AtomicOpExch().

◆ execute()

template<typename T >
void AtomicOpExch< T >::execute ( T *  b)
inlinevirtual

Implements TypedAtomicOpFunctor< T >.

Definition at line 162 of file amo.hh.

References AtomicOpExch< T >::a, and ArmISA::b.

Member Data Documentation

◆ a

template<typename T >
T AtomicOpExch< T >::a

Definition at line 160 of file amo.hh.

Referenced by AtomicOpExch< T >::clone(), and AtomicOpExch< T >::execute().


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

Generated on Wed Sep 30 2020 14:02:21 for gem5 by doxygen 1.8.17