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

#include <amo.hh>

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

Public Member Functions

 AtomicOpAdd (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 AtomicOpAdd< T >

Definition at line 167 of file amo.hh.

Constructor & Destructor Documentation

◆ AtomicOpAdd()

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

Definition at line 171 of file amo.hh.

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

Member Function Documentation

◆ clone()

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

Implements TypedAtomicOpFunctor< T >.

Definition at line 173 of file amo.hh.

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

◆ execute()

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

Implements TypedAtomicOpFunctor< T >.

Definition at line 172 of file amo.hh.

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

Member Data Documentation

◆ a

template<typename T >
T AtomicOpAdd< T >::a

Definition at line 170 of file amo.hh.

Referenced by AtomicOpAdd< T >::clone(), and AtomicOpAdd< 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