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

#include <amo.hh>

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

Public Member Functions

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

Definition at line 177 of file amo.hh.

Constructor & Destructor Documentation

◆ AtomicOpSub()

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

Definition at line 181 of file amo.hh.

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

Member Function Documentation

◆ clone()

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

Implements TypedAtomicOpFunctor< T >.

Definition at line 183 of file amo.hh.

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

◆ execute()

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

Implements TypedAtomicOpFunctor< T >.

Definition at line 182 of file amo.hh.

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

Member Data Documentation

◆ a

template<typename T >
T AtomicOpSub< T >::a

Definition at line 180 of file amo.hh.

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