SST/macro
|
#include <variable.h>
Public Member Functions | |
template<typename = std::enable_if<std::is_default_constructible<T>::value>> | |
Variable () | |
template<typename U , typename = std::enable_if<std::is_convertible<T,U>::value>> | |
Variable (const U &u) | |
Variable (uint64_t &nops_array) | |
Variable (const Variable &v) | |
~Variable () | |
VariablePtr< T > | operator& () |
void * | operator new[] (std::size_t count) throw () |
Variable & | operator= (const Variable &v) |
template<class U > | |
Variable & | operator= (const U &u) |
constexpr | operator T () const |
Variable | operator- () const |
Variable & | operator++ () |
Variable | operator++ (int u) |
Variable & | operator-- () |
Variable | operator-- (int u) |
Private Attributes | |
uint64_t & | nops |
bool | owns_nops |
Friends | |
Variable< T > | sqrt (const Variable< T > &t) |
Variable< T > | cbrt (const Variable< T > &t) |
Variable< T > | fabs (const Variable< T > &t) |
Definition at line 32 of file variable.h.
|
inline |
Definition at line 88 of file variable.h.
|
inline |
Definition at line 97 of file variable.h.
Definition at line 104 of file variable.h.
Definition at line 110 of file variable.h.
Definition at line 117 of file variable.h.
References sstmac::sw::operating_system::current_thread(), Variable< T >::owns_nops, and sstmac::sw::thread::remove_perf_ctr_variable().
|
inline |
Definition at line 127 of file variable.h.
|
inline |
Definition at line 140 of file variable.h.
|
inline |
Definition at line 123 of file variable.h.
References Variable< T >::nops.
Definition at line 149 of file variable.h.
References Variable< T >::nops.
Definition at line 154 of file variable.h.
References Variable< T >::nops.
Definition at line 144 of file variable.h.
References Variable< T >::nops.
Definition at line 159 of file variable.h.
References Variable< T >::nops.
Definition at line 164 of file variable.h.
References Variable< T >::nops.
Definition at line 131 of file variable.h.
Definition at line 136 of file variable.h.
Definition at line 239 of file variable.h.
Definition at line 246 of file variable.h.
Definition at line 232 of file variable.h.
|
private |
Definition at line 170 of file variable.h.
Referenced by cbrt(), fabs(), Variable< T >::operator&(), Variable< T >::operator++(), Variable< T >::operator-(), and Variable< T >::operator--().
|
private |
Definition at line 171 of file variable.h.
Referenced by Variable< T >::~Variable().