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

#include <amo.hh>

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

Public Member Functions

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

Definition at line 205 of file amo.hh.

Constructor & Destructor Documentation

◆ AtomicOpMax()

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

Definition at line 209 of file amo.hh.

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

Member Function Documentation

◆ clone()

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

Implements TypedAtomicOpFunctor< T >.

Definition at line 217 of file amo.hh.

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

◆ execute()

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

Implements TypedAtomicOpFunctor< T >.

Definition at line 212 of file amo.hh.

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

Member Data Documentation

◆ a

template<typename T >
T AtomicOpMax< T >::a

Definition at line 208 of file amo.hh.

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