gem5 v24.1.0.1
Loading...
Searching...
No Matches
Public Member Functions | Public Attributes | List of all members
gem5::AtomicOpAdd< T > Class Template Reference

#include <amo.hh>

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

Public Member Functions

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

Public Attributes

a
 

Detailed Description

template<typename T>
class gem5::AtomicOpAdd< T >

Definition at line 197 of file amo.hh.

Constructor & Destructor Documentation

◆ AtomicOpAdd()

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

Definition at line 201 of file amo.hh.

Member Function Documentation

◆ clone()

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

Implements gem5::TypedAtomicOpFunctor< T >.

Definition at line 203 of file amo.hh.

References gem5::AtomicOpAdd< T >::a.

◆ execute()

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

Implements gem5::TypedAtomicOpFunctor< T >.

Definition at line 202 of file amo.hh.

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

Member Data Documentation

◆ a

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

Definition at line 200 of file amo.hh.

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


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

Generated on Mon Jan 13 2025 04:28:48 for gem5 by doxygen 1.9.8