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

#include <amo.hh>

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

Public Member Functions

 AtomicGeneric3Op (T _a, T _c, std::function< void(T *, T, T)> _op)
 
AtomicOpFunctorclone () override
 
void execute (T *b) override
 
- Public Member Functions inherited from gem5::TypedAtomicOpFunctor< T >
void operator() (uint8_t *p)
 
- Public Member Functions inherited from gem5::AtomicOpFunctor
virtual ~AtomicOpFunctor ()
 

Private Attributes

a
 
c
 
std::function< void(T *, T, T)> op
 

Detailed Description

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

Definition at line 87 of file amo.hh.

Constructor & Destructor Documentation

◆ AtomicGeneric3Op()

template<typename T >
gem5::AtomicGeneric3Op< T >::AtomicGeneric3Op ( T _a,
T _c,
std::function< void(T *, T, T)> _op )
inline

Definition at line 90 of file amo.hh.

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

Member Function Documentation

◆ clone()

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

◆ execute()

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

Member Data Documentation

◆ a

template<typename T >
T gem5::AtomicGeneric3Op< T >::a
private

Definition at line 102 of file amo.hh.

Referenced by gem5::AtomicGeneric3Op< T >::execute().

◆ c

template<typename T >
T gem5::AtomicGeneric3Op< T >::c
private

Definition at line 103 of file amo.hh.

Referenced by gem5::AtomicGeneric3Op< T >::execute().

◆ op

template<typename T >
std::function<void(T*, T, T)> gem5::AtomicGeneric3Op< T >::op
private

Definition at line 104 of file amo.hh.

Referenced by gem5::AtomicGeneric3Op< 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