gem5  v21.1.0.2
Public Member Functions | Public Attributes | List of all members
gem5::AtomicOpExch< T > Class Template Reference

#include <amo.hh>

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

Public Member Functions

 AtomicOpExch (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


Detailed Description

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

Definition at line 160 of file amo.hh.

Constructor & Destructor Documentation

◆ AtomicOpExch()

template<typename T >
gem5::AtomicOpExch< T >::AtomicOpExch ( _a)

Definition at line 164 of file amo.hh.

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

Member Function Documentation

◆ clone()

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

◆ execute()

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

Implements gem5::TypedAtomicOpFunctor< T >.

Definition at line 165 of file amo.hh.

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

Member Data Documentation

◆ a

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

Definition at line 163 of file amo.hh.

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

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

Generated on Tue Sep 21 2021 12:27:17 for gem5 by doxygen 1.8.17