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

#include <amo.hh>

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

Public Member Functions

 AtomicGenericPair3Op (std::array< T, 2 > &_a, std::array< T, 2 > _c, std::function< void(T *, std::array< T, 2 > &, std::array< T, 2 >)> _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

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

Detailed Description

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

Definition at line 108 of file amo.hh.

Constructor & Destructor Documentation

◆ AtomicGenericPair3Op()

template<typename T >
gem5::AtomicGenericPair3Op< T >::AtomicGenericPair3Op ( std::array< T, 2 > & _a,
std::array< T, 2 > _c,
std::function< void(T *, std::array< T, 2 > &, std::array< T, 2 >)> _op )
inline

Definition at line 111 of file amo.hh.

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

Member Function Documentation

◆ clone()

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

◆ execute()

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

Member Data Documentation

◆ a

template<typename T >
std::array<T, 2> gem5::AtomicGenericPair3Op< T >::a
private

Definition at line 124 of file amo.hh.

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

◆ c

template<typename T >
std::array<T, 2> gem5::AtomicGenericPair3Op< T >::c
private

Definition at line 125 of file amo.hh.

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

◆ op

template<typename T >
std::function<void(T*, std::array<T, 2>&, std::array<T, 2>)> gem5::AtomicGenericPair3Op< T >::op
private

Definition at line 126 of file amo.hh.

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