CUBRID Engine  latest
cubmonitor::counter_timer_max_statistic< A, T, M > Class Template Reference

#include <monitor_collect.hpp>

Collaboration diagram for cubmonitor::counter_timer_max_statistic< A, T, M >:
Collaboration graph

Public Member Functions

 counter_timer_max_statistic (void)
 
void time_and_increment (const time_rep &d, const amount_rep &a=1)
 
void time_and_increment (const amount_rep &a=1)
 
std::size_t get_statistics_count (void) const
 
void fetch (statistic_value *destination, fetch_mode mode=FETCH_GLOBAL) const
 
amount_rep get_count (fetch_mode mode=FETCH_GLOBAL) const
 
time_rep get_time (fetch_mode mode=FETCH_GLOBAL) const
 
time_rep get_average_time (fetch_mode mode=FETCH_GLOBAL) const
 
time_rep get_max_time (fetch_mode mode=FETCH_GLOBAL) const
 
void register_to_monitor (monitor &mon, const char *basename) const
 

Private Attributes

timer m_timer
 
m_amount_statistic
 
m_total_time_statistic
 
m_max_time_statistic
 

Detailed Description

template<class A = amount_accumulator_statistic, class T = time_accumulator_statistic, class M = time_max_statistic>
class cubmonitor::counter_timer_max_statistic< A, T, M >

Definition at line 194 of file monitor_collect.hpp.

Constructor & Destructor Documentation

template<class A , class T , class M >
cubmonitor::counter_timer_max_statistic< A, T, M >::counter_timer_max_statistic ( void  )
inline

Definition at line 437 of file monitor_collect.hpp.

Member Function Documentation

template<class A , class T , class M >
time_rep cubmonitor::counter_timer_max_statistic< A, T, M >::get_average_time ( fetch_mode  mode = FETCH_GLOBAL) const
inline
template<class A , class T , class M >
amount_rep cubmonitor::counter_timer_max_statistic< A, T, M >::get_count ( fetch_mode  mode = FETCH_GLOBAL) const
inline
template<class A , class T , class M >
time_rep cubmonitor::counter_timer_max_statistic< A, T, M >::get_max_time ( fetch_mode  mode = FETCH_GLOBAL) const
inline
template<class A , class T , class M >
time_rep cubmonitor::counter_timer_max_statistic< A, T, M >::get_time ( fetch_mode  mode = FETCH_GLOBAL) const
inline

Member Data Documentation

template<class A = amount_accumulator_statistic, class T = time_accumulator_statistic, class M = time_max_statistic>
timer cubmonitor::counter_timer_max_statistic< A, T, M >::m_timer
private
template<class A = amount_accumulator_statistic, class T = time_accumulator_statistic, class M = time_max_statistic>
T cubmonitor::counter_timer_max_statistic< A, T, M >::m_total_time_statistic
private

The documentation for this class was generated from the following file: