CUBRID Engine
latest
|
#include <monitor_statistic.hpp>
Public Types | |
using | rep = Rep |
Public Member Functions | |
atomic_primitive (Rep value=Rep()) | |
atomic_primitive & | operator= (const atomic_primitive &other) |
void | fetch (statistic_value *destination, fetch_mode mode=FETCH_GLOBAL) const |
std::size_t | get_statistics_count (void) const |
Rep | get_value (fetch_mode mode=FETCH_GLOBAL) const |
Protected Member Functions | |
void | set_value (const Rep &value) |
void | fetch_add (const Rep &value) |
bool | compare_exchange (Rep &compare_value, const Rep &replace_value) |
Protected Attributes | |
std::atomic< Rep > | m_value |
Definition at line 170 of file monitor_statistic.hpp.
using cubmonitor::atomic_primitive< Rep >::rep = Rep |
Definition at line 173 of file monitor_statistic.hpp.
|
inline |
Definition at line 175 of file monitor_statistic.hpp.
|
inlineprotected |
Definition at line 210 of file monitor_statistic.hpp.
References cubmonitor::primitive< Rep >::m_value.
|
inline |
|
protected |
Definition at line 478 of file monitor_statistic.hpp.
References cubmonitor::primitive< Rep >::m_value.
Referenced by cubmonitor::atomic_primitive< Rep >::fetch().
|
inline |
Definition at line 189 of file monitor_statistic.hpp.
|
inline |
Definition at line 195 of file monitor_statistic.hpp.
References cubmonitor::primitive< Rep >::m_value.
|
inline |
Definition at line 181 of file monitor_statistic.hpp.
References cubmonitor::primitive< Rep >::fetch(), cubmonitor::FETCH_GLOBAL, cubmonitor::primitive< Rep >::m_value, cubmonitor::atomic_primitive< Rep >::m_value, and mode.
|
inlineprotected |
Definition at line 202 of file monitor_statistic.hpp.
References cubmonitor::primitive< Rep >::m_value.
|
protected |
Definition at line 215 of file monitor_statistic.hpp.
Referenced by cubmonitor::accumulator_atomic_statistic< Rep >::collect(), cubmonitor::atomic_primitive< Rep >::operator=(), and cubmonitor::atomic_primitive< time_rep >::operator=().