CUBRID Engine
latest
|
#include <monitor_statistic.hpp>
Public Types | |
using | rep = time_rep |
Public Member Functions | |
atomic_primitive (time_rep value=time_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 |
time_rep | get_value (fetch_mode mode=FETCH_GLOBAL) const |
Protected Member Functions | |
void | set_value (const time_rep &value) |
void | fetch_add (const time_rep &value) |
bool | compare_exchange (time_rep &compare_value, const time_rep &replace_value) |
Protected Attributes | |
std::atomic< time_rep::rep > | m_value |
Definition at line 221 of file monitor_statistic.hpp.
using cubmonitor::atomic_primitive< time_rep >::rep = time_rep |
Definition at line 224 of file monitor_statistic.hpp.
|
inline |
Definition at line 226 of file monitor_statistic.hpp.
|
inlineprotected |
Definition at line 271 of file monitor_statistic.hpp.
References cubmonitor::primitive< Rep >::m_value.
|
inline |
Definition at line 484 of file monitor_statistic.hpp.
References cubmonitor::FETCH_TRANSACTION_SHEET, cubmonitor::primitive< Rep >::get_value(), and cubmonitor::statistic_value_cast().
|
inlineprotected |
Definition at line 265 of file monitor_statistic.hpp.
References cubmonitor::primitive< Rep >::m_value.
|
inline |
Definition at line 240 of file monitor_statistic.hpp.
|
inline |
Definition at line 246 of file monitor_statistic.hpp.
References cubmonitor::FETCH_GLOBAL, cubmonitor::primitive< Rep >::m_value, and mode.
|
inline |
Definition at line 232 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 260 of file monitor_statistic.hpp.
References cubmonitor::primitive< Rep >::m_value.
|
protected |
Definition at line 277 of file monitor_statistic.hpp.