Class cubmonitor::atomic_primitive< time_rep >
template <>
ClassList > cubmonitor > atomic_primitive< time_rep >
#include <monitor_statistic.hpp>
Public Types
Public Functions
Protected Attributes
| Type |
Name |
| std::atomic< time_rep::rep > |
m_value
|
Protected Functions
Public Types Documentation
typedef rep
using cubmonitor::atomic_primitive< time_rep >::rep = time_rep;
Public Functions Documentation
function atomic_primitive
inline cubmonitor::atomic_primitive< time_rep >::atomic_primitive (
time_rep value=time_rep ()
)
function fetch
inline void cubmonitor::atomic_primitive< time_rep >::fetch (
statistic_value * destination,
fetch_mode mode=FETCH_GLOBAL
) const
function get_statistics_count
inline std::size_t cubmonitor::atomic_primitive< time_rep >::get_statistics_count (
void
) const
function get_value
inline time_rep cubmonitor::atomic_primitive< time_rep >::get_value (
fetch_mode mode=FETCH_GLOBAL
) const
function operator=
inline atomic_primitive & cubmonitor::atomic_primitive< time_rep >::operator= (
const atomic_primitive & other
)
Protected Attributes Documentation
variable m_value
std::atomic<time_rep::rep> cubmonitor::atomic_primitive< time_rep >::m_value;
Protected Functions Documentation
function compare_exchange
inline bool cubmonitor::atomic_primitive< time_rep >::compare_exchange (
time_rep & compare_value,
const time_rep & replace_value
)
function fetch_add
inline void cubmonitor::atomic_primitive< time_rep >::fetch_add (
const time_rep & value
)
function set_value
inline void cubmonitor::atomic_primitive< time_rep >::set_value (
const time_rep & value
)
The documentation for this class was generated from the following file cubrid/src/monitor/monitor_statistic.hpp