gem5 v24.0.0.0
Loading...
Searching...
No Matches
gem5::AtomicOpSub< T > Class Template Reference

#include <amo.hh>

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

Public Member Functions

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

Definition at line 207 of file amo.hh.

Constructor & Destructor Documentation

◆ AtomicOpSub()

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

Definition at line 211 of file amo.hh.

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

Member Function Documentation

◆ clone()

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

◆ execute()

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

Implements gem5::TypedAtomicOpFunctor< T >.

Definition at line 212 of file amo.hh.

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

Member Data Documentation

◆ a

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

Definition at line 210 of file amo.hh.

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


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

Generated on Tue Jun 18 2024 16:24:09 for gem5 by doxygen 1.11.0