ACE_Metrics_Cache< ACE_LOCK, ALLOCATOR > Class Template Reference

This class implements a cache for metrics timeprobe data. More...

#include <Metrics_Cache_T.h>

Collaboration diagram for ACE_Metrics_Cache< ACE_LOCK, ALLOCATOR >:

Collaboration graph
[legend]
List of all members.

Public Types

typedef ACE_Metrics_Cache<
ACE_LOCK, ALLOCATOR > 
ACE_METRICS_CACHE_TYPE

Public Member Functions

 ACE_Metrics_Cache (u_long table_size=METRICS_DEFAULT_TIMEPROBE_TABLE_SIZE, u_long number_of_probes=METRICS_DEFAULT_TIMEPROBE_COUNT, ALLOCATOR *allocatorPtr=(ALLOCATOR *) ALLOCATOR::instance())
 ~ACE_Metrics_Cache ()
void report_enqueue_start (u_long i)
void report_enqueue_stop (u_long i)
void report_enqueue_suspend (u_long i)
void report_enqueue_resume (u_long i)
void report_dequeue_start (u_long i)
void report_dequeue_stop (u_long i)
void report_dequeue_suspend (u_long i)
void report_dequeue_resume (u_long i)
void reset_base_statistics ()
void flip_supplier_and_consumer ()
void flush_ACE_Metrics_Cache ()
void metrics_enabled (int enabled)
int metrics_enabled (void) const

Protected Member Functions

ALLOCATOR * allocator (void)

Protected Attributes

u_long probe_set_size_
u_long * enqueue_count_ [2]
u_long * dequeue_count_ [2]
ACE_Metrics_Timeprobe< ACE_LOCK,
ALLOCATOR > ** 
enqueue_probes_ [2]
ACE_Metrics_Timeprobe< ACE_LOCK,
ALLOCATOR > ** 
dequeue_probes_ [2]
char ** enqueue_names_
char ** dequeue_names_
int consumer_index_
int supplier_index_
u_long table_size_
ACE_Time_Value interval_start_
ACE_Time_Value interval_end_
int interval_initialized_
int metrics_enabled_

Private Member Functions

 ACE_Metrics_Cache (const ACE_Metrics_Cache< ACE_LOCK, ALLOCATOR > &)
void operator= (const ACE_Metrics_Cache< ACE_LOCK, ALLOCATOR > &)

Private Attributes

ALLOCATOR * allocator_

Detailed Description

template<class ACE_LOCK, class ALLOCATOR>
class ACE_Metrics_Cache< ACE_LOCK, ALLOCATOR >

This class implements a cache for metrics timeprobe data.

This class allows probes to be recorded into a single cache that monitors and other higher level metrics classes can query.

Definition at line 122 of file Metrics_Cache_T.h.


Member Typedef Documentation

template<class ACE_LOCK, class ALLOCATOR>
typedef ACE_Metrics_Cache<ACE_LOCK, ALLOCATOR> ACE_Metrics_Cache< ACE_LOCK, ALLOCATOR >::ACE_METRICS_CACHE_TYPE
 

Definition at line 126 of file Metrics_Cache_T.h.


Constructor & Destructor Documentation

template<class ACE_LOCK, class ALLOCATOR>
ACE_Metrics_Cache< ACE_LOCK, ALLOCATOR >::ACE_Metrics_Cache u_long  table_size = METRICS_DEFAULT_TIMEPROBE_TABLE_SIZE,
u_long  number_of_probes = METRICS_DEFAULT_TIMEPROBE_COUNT,
ALLOCATOR *  allocatorPtr = (ALLOCATOR *) ALLOCATOR::instance()
 

Definition at line 172 of file Metrics_Cache_T.cpp.

References ACE_Metrics_Cache< ACE_LOCK, ALLOCATOR >::dequeue_count_, ACE_Metrics_Cache< ACE_LOCK, ALLOCATOR >::dequeue_probes_, ACE_Metrics_Cache< ACE_LOCK, ALLOCATOR >::enqueue_count_, ACE_Metrics_Cache< ACE_LOCK, ALLOCATOR >::enqueue_probes_, and ACE_High_Res_Timer::global_scale_factor().

00175   : probe_set_size_ (0),
00176     enqueue_names_ (0),
00177     dequeue_names_ (0),
00178     consumer_index_ (0),
00179     supplier_index_ (1),
00180     table_size_ (table_size),
00181     interval_start_ (ACE_Time_Value::zero),
00182     interval_end_ (ACE_Time_Value::zero),
00183     interval_initialized_ (0),
00184     metrics_enabled_(1),
00185     allocator_ (alloc)
00186 {
00187   ACE_UNUSED_ARG(number_of_probes);
00188   // Initialize probe and count arrays.
00189 
00190   // Ensure that the high res timer global scale factor
00191   // is set before any of its static methods are used
00192   ACE_High_Res_Timer::global_scale_factor ();
00193 
00194   enqueue_count_ [0] = 0;
00195   enqueue_count_ [1] = 0;
00196   dequeue_count_ [0] = 0;
00197   dequeue_count_ [1] = 0;
00198   enqueue_probes_ [0] = 0;
00199   enqueue_probes_ [1] = 0;
00200   dequeue_probes_ [0] = 0;
00201   dequeue_probes_ [1] = 0;
00202 }

template<class ACE_LOCK, class ALLOCATOR>
ACE_Metrics_Cache< ACE_LOCK, ALLOCATOR >::~ACE_Metrics_Cache  ) 
 

Definition at line 207 of file Metrics_Cache_T.cpp.

00208 {
00209 }

template<class ACE_LOCK, class ALLOCATOR>
ACE_Metrics_Cache< ACE_LOCK, ALLOCATOR >::ACE_Metrics_Cache const ACE_Metrics_Cache< ACE_LOCK, ALLOCATOR > &   )  [private]
 


Member Function Documentation

template<class ACE_LOCK, class ALLOCATOR>
ALLOCATOR * ACE_Metrics_Cache< ACE_LOCK, ALLOCATOR >::allocator void   )  [protected]
 

Definition at line 217 of file Metrics_Cache_T.cpp.

References ACE_Singleton< TYPE, ACE_LOCK >::instance().

00218 {
00219   ALLOCATOR * alloc = allocator_;
00220   return alloc
00221          ? alloc
00222          : ACE_Singleton<ALLOCATOR, ACE_LOCK>::instance ();
00223 }

template<class ACE_LOCK, class ALLOCATOR>
ACE_INLINE void ACE_Metrics_Cache< ACE_LOCK, ALLOCATOR >::flip_supplier_and_consumer  ) 
 

Definition at line 217 of file Metrics_Cache_T.inl.

References ACE_Metrics_Cache< ACE_LOCK, ALLOCATOR >::consumer_index_, and ACE_Metrics_Cache< ACE_LOCK, ALLOCATOR >::supplier_index_.

00218 {
00219   int temp = consumer_index_;
00220   consumer_index_ = supplier_index_;
00221   supplier_index_ = temp;
00222 }

template<class ACE_LOCK, class ALLOCATOR>
void ACE_Metrics_Cache< ACE_LOCK, ALLOCATOR >::flush_ACE_Metrics_Cache  ) 
 

Definition at line 230 of file Metrics_Cache_T.cpp.

00231 {
00232 }

template<class ACE_LOCK, class ALLOCATOR>
ACE_INLINE int ACE_Metrics_Cache< ACE_LOCK, ALLOCATOR >::metrics_enabled void   )  const
 

Definition at line 233 of file Metrics_Cache_T.inl.

References ACE_Metrics_Cache< ACE_LOCK, ALLOCATOR >::metrics_enabled_.

00234 {
00235    return metrics_enabled_;
00236 }

template<class ACE_LOCK, class ALLOCATOR>
ACE_INLINE void ACE_Metrics_Cache< ACE_LOCK, ALLOCATOR >::metrics_enabled int  enabled  ) 
 

Definition at line 226 of file Metrics_Cache_T.inl.

References ACE_Metrics_Cache< ACE_LOCK, ALLOCATOR >::metrics_enabled_.

00227 {
00228    metrics_enabled_ = enabled;
00229 }

template<class ACE_LOCK, class ALLOCATOR>
void ACE_Metrics_Cache< ACE_LOCK, ALLOCATOR >::operator= const ACE_Metrics_Cache< ACE_LOCK, ALLOCATOR > &   )  [private]
 

template<class ACE_LOCK, class ALLOCATOR>
ACE_INLINE void ACE_Metrics_Cache< ACE_LOCK, ALLOCATOR >::report_dequeue_resume u_long  i  ) 
 

Definition at line 175 of file Metrics_Cache_T.inl.

References ACE_Metrics_Cache< ACE_LOCK, ALLOCATOR >::dequeue_count_, ACE_Metrics_Cache< ACE_LOCK, ALLOCATOR >::dequeue_probes_, ACE_Metrics_Cache< ACE_LOCK, ALLOCATOR >::probe_set_size_, and ACE_Metrics_Cache< ACE_LOCK, ALLOCATOR >::supplier_index_.

00176 {
00177   if (i < this->probe_set_size_)
00178     {
00179       u_long & count =
00180         this->dequeue_count_ [this->supplier_index_] [i];
00181       ++count;
00182       ACE_Metrics_Timeprobe<ACE_LOCK, ALLOCATOR> * probe =
00183         this->dequeue_probes_ [this->supplier_index_][i];
00184       probe->
00185         timeprobe (ACE_Metrics_Timeprobe<ACE_LOCK, ALLOCATOR>::WORK_RESUME);
00186     }
00187 }

template<class ACE_LOCK, class ALLOCATOR>
ACE_INLINE void ACE_Metrics_Cache< ACE_LOCK, ALLOCATOR >::report_dequeue_start u_long  i  ) 
 

Definition at line 105 of file Metrics_Cache_T.inl.

References ACE_hrtime_t, ACE_Metrics_Cache< ACE_LOCK, ALLOCATOR >::dequeue_count_, ACE_Metrics_Cache< ACE_LOCK, ALLOCATOR >::dequeue_probes_, ACE_OS::gethrtime(), ACE_High_Res_Timer::hrtime_to_tv(), ACE_Metrics_Cache< ACE_LOCK, ALLOCATOR >::interval_end_, ACE_Metrics_Cache< ACE_LOCK, ALLOCATOR >::interval_initialized_, ACE_Metrics_Cache< ACE_LOCK, ALLOCATOR >::interval_start_, ACE_Metrics_Cache< ACE_LOCK, ALLOCATOR >::probe_set_size_, ACE_Time_Value::set(), ACE_Metrics_Cache< ACE_LOCK, ALLOCATOR >::supplier_index_, and ACE_Time_Value::usec().

00106 {
00107   if (i < this->probe_set_size_)
00108     {
00109       u_long & count =
00110         this->dequeue_count_ [this->supplier_index_] [i];
00111       ++count;
00112 
00113       if (! this->interval_initialized_)
00114         {
00115           this->interval_initialized_ = 1;
00116           ACE_hrtime_t hrtime_now = ACE_OS::gethrtime ();
00117           ACE_High_Res_Timer::hrtime_to_tv (this->interval_start_,
00118                                                     hrtime_now);
00119           this->interval_end_.set (this->interval_start_.sec(),
00120                                    this->interval_start_.usec());
00121         }
00122 
00123       // Take the metrics timeprobe last, to avoid measuring the above
00124       // metrics processing.
00125       ACE_Metrics_Timeprobe<ACE_LOCK, ALLOCATOR> * probe =
00126         this->dequeue_probes_ [this->supplier_index_][i];
00127       probe->
00128         timeprobe (ACE_Metrics_Timeprobe<ACE_LOCK, ALLOCATOR>::WORK_START);
00129     }
00130 }

template<class ACE_LOCK, class ALLOCATOR>
ACE_INLINE void ACE_Metrics_Cache< ACE_LOCK, ALLOCATOR >::report_dequeue_stop u_long  i  ) 
 

Definition at line 135 of file Metrics_Cache_T.inl.

References ACE_hrtime_t, ACE_Metrics_Cache< ACE_LOCK, ALLOCATOR >::dequeue_count_, ACE_Metrics_Cache< ACE_LOCK, ALLOCATOR >::dequeue_probes_, ACE_OS::gethrtime(), ACE_High_Res_Timer::hrtime_to_tv(), ACE_Metrics_Cache< ACE_LOCK, ALLOCATOR >::probe_set_size_, ACE_Metrics_Cache< ACE_LOCK, ALLOCATOR >::supplier_index_, and ACE_Timeprobe_Ex< ACE_LOCK, ALLOCATOR >::timeprobe().

00136 {
00137   if (i < this->probe_set_size_)
00138     {
00139       // Take the metrics timeprobe first, to avoid measuring the
00140       // metrics processing below.
00141       ACE_Metrics_Timeprobe<ACE_LOCK, ALLOCATOR> * probe =
00142         this->dequeue_probes_ [this->supplier_index_][i];
00143 
00144       probe->timeprobe (ACE_Metrics_Timeprobe<ACE_LOCK, ALLOCATOR>::WORK_STOP);
00145 
00146       ACE_hrtime_t hrtime_now = ACE_OS::gethrtime ();
00147       ACE_High_Res_Timer::hrtime_to_tv (this->interval_end_,
00148                                                     hrtime_now);
00149 
00150       u_long & count = dequeue_count_ [this->supplier_index_] [i];
00151       ++count;
00152     }
00153 }

template<class ACE_LOCK, class ALLOCATOR>
ACE_INLINE void ACE_Metrics_Cache< ACE_LOCK, ALLOCATOR >::report_dequeue_suspend u_long  i  ) 
 

Definition at line 158 of file Metrics_Cache_T.inl.

References ACE_Metrics_Cache< ACE_LOCK, ALLOCATOR >::dequeue_count_, ACE_Metrics_Cache< ACE_LOCK, ALLOCATOR >::dequeue_probes_, ACE_Metrics_Cache< ACE_LOCK, ALLOCATOR >::probe_set_size_, and ACE_Metrics_Cache< ACE_LOCK, ALLOCATOR >::supplier_index_.

00159 {
00160   if (i < this->probe_set_size_)
00161     {
00162       u_long & count =
00163         this->dequeue_count_ [this->supplier_index_] [i];
00164       ++count;
00165       ACE_Metrics_Timeprobe<ACE_LOCK, ALLOCATOR> * probe =
00166         this->dequeue_probes_ [this->supplier_index_][i];
00167       probe->
00168         timeprobe (ACE_Metrics_Timeprobe<ACE_LOCK, ALLOCATOR>::WORK_SUSPEND);
00169     }
00170 }

template<class ACE_LOCK, class ALLOCATOR>
ACE_INLINE void ACE_Metrics_Cache< ACE_LOCK, ALLOCATOR >::report_enqueue_resume u_long  i  ) 
 

Definition at line 88 of file Metrics_Cache_T.inl.

References ACE_Metrics_Cache< ACE_LOCK, ALLOCATOR >::enqueue_count_, ACE_Metrics_Cache< ACE_LOCK, ALLOCATOR >::enqueue_probes_, ACE_Metrics_Cache< ACE_LOCK, ALLOCATOR >::probe_set_size_, and ACE_Metrics_Cache< ACE_LOCK, ALLOCATOR >::supplier_index_.

00089 {
00090   if (i < this->probe_set_size_)
00091     {
00092       u_long & count =
00093         this->enqueue_count_ [this->supplier_index_] [i];
00094       ++count;
00095       ACE_Metrics_Timeprobe<ACE_LOCK, ALLOCATOR> * probe =
00096         this->enqueue_probes_ [this->supplier_index_][i];
00097       probe->
00098         timeprobe (ACE_Metrics_Timeprobe<ACE_LOCK, ALLOCATOR>::WORK_RESUME);
00099     }
00100 }

template<class ACE_LOCK, class ALLOCATOR>
ACE_BEGIN_VERSIONED_NAMESPACE_DECL ACE_INLINE void ACE_Metrics_Cache< ACE_LOCK, ALLOCATOR >::report_enqueue_start u_long  i  ) 
 

Definition at line 17 of file Metrics_Cache_T.inl.

References ACE_hrtime_t, ACE_Metrics_Cache< ACE_LOCK, ALLOCATOR >::enqueue_count_, ACE_Metrics_Cache< ACE_LOCK, ALLOCATOR >::enqueue_probes_, ACE_OS::gethrtime(), ACE_High_Res_Timer::hrtime_to_tv(), ACE_Metrics_Cache< ACE_LOCK, ALLOCATOR >::interval_end_, ACE_Metrics_Cache< ACE_LOCK, ALLOCATOR >::interval_initialized_, ACE_Metrics_Cache< ACE_LOCK, ALLOCATOR >::interval_start_, ACE_Metrics_Cache< ACE_LOCK, ALLOCATOR >::probe_set_size_, ACE_Time_Value::set(), ACE_Metrics_Cache< ACE_LOCK, ALLOCATOR >::supplier_index_, and ACE_Time_Value::usec().

00018 {
00019   if (i < this->probe_set_size_)
00020     {
00021       u_long & count =
00022         this->enqueue_count_ [this->supplier_index_] [i];
00023       ++count;
00024 
00025       if (! this->interval_initialized_)
00026         {
00027           this->interval_initialized_ = 1;
00028           ACE_hrtime_t hrtime_now = ACE_OS::gethrtime ();
00029           ACE_High_Res_Timer::hrtime_to_tv (this->interval_start_,
00030                                                     hrtime_now);
00031           this->interval_end_.set (this->interval_start_.sec(),
00032                                    this->interval_start_.usec());
00033         }
00034 
00035       // Take the metrics timeprobe last, to avoid measuring the above
00036       // metrics processing.
00037       ACE_Metrics_Timeprobe<ACE_LOCK, ALLOCATOR> * probe =
00038         this->enqueue_probes_ [this->supplier_index_][i];
00039       probe->
00040         timeprobe (ACE_Metrics_Timeprobe<ACE_LOCK, ALLOCATOR>::WORK_START);
00041     }
00042 }

template<class ACE_LOCK, class ALLOCATOR>
ACE_INLINE void ACE_Metrics_Cache< ACE_LOCK, ALLOCATOR >::report_enqueue_stop u_long  i  ) 
 

Definition at line 47 of file Metrics_Cache_T.inl.

References ACE_hrtime_t, ACE_Metrics_Cache< ACE_LOCK, ALLOCATOR >::enqueue_count_, ACE_Metrics_Cache< ACE_LOCK, ALLOCATOR >::enqueue_probes_, ACE_OS::gethrtime(), ACE_High_Res_Timer::hrtime_to_tv(), ACE_Metrics_Cache< ACE_LOCK, ALLOCATOR >::probe_set_size_, and ACE_Metrics_Cache< ACE_LOCK, ALLOCATOR >::supplier_index_.

00048 {
00049   if (i < this->probe_set_size_)
00050     {
00051       // Take the metrics timeprobe first, to avoid measuring the below
00052       // metrics processing.
00053       ACE_Metrics_Timeprobe<ACE_LOCK, ALLOCATOR> * probe =
00054         this->enqueue_probes_ [this->supplier_index_][i];
00055       probe->
00056         timeprobe (ACE_Metrics_Timeprobe<ACE_LOCK, ALLOCATOR>::WORK_STOP);
00057 
00058       ACE_hrtime_t hrtime_now = ACE_OS::gethrtime ();
00059       ACE_High_Res_Timer::hrtime_to_tv (this->interval_end_,
00060                                             hrtime_now);
00061 
00062       u_long & count = enqueue_count_ [this->supplier_index_][i];
00063       ++count;
00064     }
00065 
00066 }

template<class ACE_LOCK, class ALLOCATOR>
ACE_INLINE void ACE_Metrics_Cache< ACE_LOCK, ALLOCATOR >::report_enqueue_suspend u_long  i  ) 
 

Definition at line 71 of file Metrics_Cache_T.inl.

References ACE_Metrics_Cache< ACE_LOCK, ALLOCATOR >::enqueue_count_, ACE_Metrics_Cache< ACE_LOCK, ALLOCATOR >::enqueue_probes_, ACE_Metrics_Cache< ACE_LOCK, ALLOCATOR >::probe_set_size_, and ACE_Metrics_Cache< ACE_LOCK, ALLOCATOR >::supplier_index_.

00072 {
00073   if (i < this->probe_set_size_)
00074     {
00075       ACE_Metrics_Timeprobe<ACE_LOCK, ALLOCATOR> * probe =
00076         this->enqueue_probes_ [this->supplier_index_][i];
00077       probe->
00078         timeprobe (ACE_Metrics_Timeprobe<ACE_LOCK, ALLOCATOR>::WORK_SUSPEND);
00079       u_long & count =
00080         this->enqueue_count_ [this->supplier_index_] [i];
00081       ++count;
00082     }
00083 }

template<class ACE_LOCK, class ALLOCATOR>
ACE_INLINE void ACE_Metrics_Cache< ACE_LOCK, ALLOCATOR >::reset_base_statistics  ) 
 

Definition at line 192 of file Metrics_Cache_T.inl.

References ACE_Metrics_Cache< ACE_LOCK, ALLOCATOR >::consumer_index_, ACE_Metrics_Cache< ACE_LOCK, ALLOCATOR >::dequeue_count_, ACE_Metrics_Cache< ACE_LOCK, ALLOCATOR >::dequeue_probes_, ACE_Metrics_Cache< ACE_LOCK, ALLOCATOR >::enqueue_count_, ACE_Metrics_Cache< ACE_LOCK, ALLOCATOR >::enqueue_probes_, ACE_Metrics_Cache< ACE_LOCK, ALLOCATOR >::interval_end_, ACE_Metrics_Cache< ACE_LOCK, ALLOCATOR >::interval_initialized_, ACE_Metrics_Cache< ACE_LOCK, ALLOCATOR >::interval_start_, ACE_Metrics_Cache< ACE_LOCK, ALLOCATOR >::probe_set_size_, ACE_Timeprobe_Ex< ACE_LOCK, ALLOCATOR >::reset(), and ACE_Time_Value::set().

00193 {
00194   this->interval_initialized_ = 0;
00195   this->interval_start_.set (0, 0);
00196   this->interval_end_.set (0, 0);
00197 
00198   for (u_int i = 0; i < this->probe_set_size_; ++i)
00199     {
00200       this->enqueue_count_ [this->consumer_index_] [i] = 0;
00201       this->dequeue_count_ [this->consumer_index_] [i] = 0;
00202 
00203       ACE_Metrics_Timeprobe<ACE_LOCK, ALLOCATOR> * probe =
00204         this->enqueue_probes_ [this->consumer_index_][i];
00205       probe->reset ();
00206       probe =
00207         this->dequeue_probes_ [this->consumer_index_][i];
00208       probe->reset ();
00209     }
00210 }


Member Data Documentation

template<class ACE_LOCK, class ALLOCATOR>
ALLOCATOR* ACE_Metrics_Cache< ACE_LOCK, ALLOCATOR >::allocator_ [private]
 

Definition at line 220 of file Metrics_Cache_T.h.

template<class ACE_LOCK, class ALLOCATOR>
int ACE_Metrics_Cache< ACE_LOCK, ALLOCATOR >::consumer_index_ [protected]
 

Definition at line 195 of file Metrics_Cache_T.h.

Referenced by ACE_Metrics_Cache< ACE_LOCK, ALLOCATOR >::flip_supplier_and_consumer(), and ACE_Metrics_Cache< ACE_LOCK, ALLOCATOR >::reset_base_statistics().

template<class ACE_LOCK, class ALLOCATOR>
u_long* ACE_Metrics_Cache< ACE_LOCK, ALLOCATOR >::dequeue_count_[2] [protected]
 

Definition at line 183 of file Metrics_Cache_T.h.

Referenced by ACE_Metrics_Cache< ACE_LOCK, ALLOCATOR >::ACE_Metrics_Cache(), ACE_Metrics_Cache< ACE_LOCK, ALLOCATOR >::report_dequeue_resume(), ACE_Metrics_Cache< ACE_LOCK, ALLOCATOR >::report_dequeue_start(), ACE_Metrics_Cache< ACE_LOCK, ALLOCATOR >::report_dequeue_stop(), ACE_Metrics_Cache< ACE_LOCK, ALLOCATOR >::report_dequeue_suspend(), and ACE_Metrics_Cache< ACE_LOCK, ALLOCATOR >::reset_base_statistics().

template<class ACE_LOCK, class ALLOCATOR>
char** ACE_Metrics_Cache< ACE_LOCK, ALLOCATOR >::dequeue_names_ [protected]
 

Definition at line 191 of file Metrics_Cache_T.h.

template<class ACE_LOCK, class ALLOCATOR>
ACE_Metrics_Timeprobe<ACE_LOCK, ALLOCATOR>** ACE_Metrics_Cache< ACE_LOCK, ALLOCATOR >::dequeue_probes_[2] [protected]
 

Definition at line 187 of file Metrics_Cache_T.h.

Referenced by ACE_Metrics_Cache< ACE_LOCK, ALLOCATOR >::ACE_Metrics_Cache(), ACE_Metrics_Cache< ACE_LOCK, ALLOCATOR >::report_dequeue_resume(), ACE_Metrics_Cache< ACE_LOCK, ALLOCATOR >::report_dequeue_start(), ACE_Metrics_Cache< ACE_LOCK, ALLOCATOR >::report_dequeue_stop(), ACE_Metrics_Cache< ACE_LOCK, ALLOCATOR >::report_dequeue_suspend(), and ACE_Metrics_Cache< ACE_LOCK, ALLOCATOR >::reset_base_statistics().

template<class ACE_LOCK, class ALLOCATOR>
u_long* ACE_Metrics_Cache< ACE_LOCK, ALLOCATOR >::enqueue_count_[2] [protected]
 

Definition at line 182 of file Metrics_Cache_T.h.

Referenced by ACE_Metrics_Cache< ACE_LOCK, ALLOCATOR >::ACE_Metrics_Cache(), ACE_Metrics_Cache< ACE_LOCK, ALLOCATOR >::report_enqueue_resume(), ACE_Metrics_Cache< ACE_LOCK, ALLOCATOR >::report_enqueue_start(), ACE_Metrics_Cache< ACE_LOCK, ALLOCATOR >::report_enqueue_stop(), ACE_Metrics_Cache< ACE_LOCK, ALLOCATOR >::report_enqueue_suspend(), and ACE_Metrics_Cache< ACE_LOCK, ALLOCATOR >::reset_base_statistics().

template<class ACE_LOCK, class ALLOCATOR>
char** ACE_Metrics_Cache< ACE_LOCK, ALLOCATOR >::enqueue_names_ [protected]
 

Definition at line 190 of file Metrics_Cache_T.h.

template<class ACE_LOCK, class ALLOCATOR>
ACE_Metrics_Timeprobe<ACE_LOCK, ALLOCATOR>** ACE_Metrics_Cache< ACE_LOCK, ALLOCATOR >::enqueue_probes_[2] [protected]
 

Definition at line 186 of file Metrics_Cache_T.h.

Referenced by ACE_Metrics_Cache< ACE_LOCK, ALLOCATOR >::ACE_Metrics_Cache(), ACE_Metrics_Cache< ACE_LOCK, ALLOCATOR >::report_enqueue_resume(), ACE_Metrics_Cache< ACE_LOCK, ALLOCATOR >::report_enqueue_start(), ACE_Metrics_Cache< ACE_LOCK, ALLOCATOR >::report_enqueue_stop(), ACE_Metrics_Cache< ACE_LOCK, ALLOCATOR >::report_enqueue_suspend(), and ACE_Metrics_Cache< ACE_LOCK, ALLOCATOR >::reset_base_statistics().

template<class ACE_LOCK, class ALLOCATOR>
ACE_Time_Value ACE_Metrics_Cache< ACE_LOCK, ALLOCATOR >::interval_end_ [protected]
 

Definition at line 208 of file Metrics_Cache_T.h.

Referenced by ACE_Metrics_Cache< ACE_LOCK, ALLOCATOR >::report_dequeue_start(), ACE_Metrics_Cache< ACE_LOCK, ALLOCATOR >::report_enqueue_start(), and ACE_Metrics_Cache< ACE_LOCK, ALLOCATOR >::reset_base_statistics().

template<class ACE_LOCK, class ALLOCATOR>
int ACE_Metrics_Cache< ACE_LOCK, ALLOCATOR >::interval_initialized_ [protected]
 

Definition at line 212 of file Metrics_Cache_T.h.

Referenced by ACE_Metrics_Cache< ACE_LOCK, ALLOCATOR >::report_dequeue_start(), ACE_Metrics_Cache< ACE_LOCK, ALLOCATOR >::report_enqueue_start(), and ACE_Metrics_Cache< ACE_LOCK, ALLOCATOR >::reset_base_statistics().

template<class ACE_LOCK, class ALLOCATOR>
ACE_Time_Value ACE_Metrics_Cache< ACE_LOCK, ALLOCATOR >::interval_start_ [protected]
 

Definition at line 205 of file Metrics_Cache_T.h.

Referenced by ACE_Metrics_Cache< ACE_LOCK, ALLOCATOR >::report_dequeue_start(), ACE_Metrics_Cache< ACE_LOCK, ALLOCATOR >::report_enqueue_start(), and ACE_Metrics_Cache< ACE_LOCK, ALLOCATOR >::reset_base_statistics().

template<class ACE_LOCK, class ALLOCATOR>
int ACE_Metrics_Cache< ACE_LOCK, ALLOCATOR >::metrics_enabled_ [protected]
 

Definition at line 215 of file Metrics_Cache_T.h.

Referenced by ACE_Metrics_Cache< ACE_LOCK, ALLOCATOR >::metrics_enabled().

template<class ACE_LOCK, class ALLOCATOR>
u_long ACE_Metrics_Cache< ACE_LOCK, ALLOCATOR >::probe_set_size_ [protected]
 

Definition at line 179 of file Metrics_Cache_T.h.

Referenced by ACE_Metrics_Cache< ACE_LOCK, ALLOCATOR >::report_dequeue_resume(), ACE_Metrics_Cache< ACE_LOCK, ALLOCATOR >::report_dequeue_start(), ACE_Metrics_Cache< ACE_LOCK, ALLOCATOR >::report_dequeue_stop(), ACE_Metrics_Cache< ACE_LOCK, ALLOCATOR >::report_dequeue_suspend(), ACE_Metrics_Cache< ACE_LOCK, ALLOCATOR >::report_enqueue_resume(), ACE_Metrics_Cache< ACE_LOCK, ALLOCATOR >::report_enqueue_start(), ACE_Metrics_Cache< ACE_LOCK, ALLOCATOR >::report_enqueue_stop(), ACE_Metrics_Cache< ACE_LOCK, ALLOCATOR >::report_enqueue_suspend(), and ACE_Metrics_Cache< ACE_LOCK, ALLOCATOR >::reset_base_statistics().

template<class ACE_LOCK, class ALLOCATOR>
int ACE_Metrics_Cache< ACE_LOCK, ALLOCATOR >::supplier_index_ [protected]
 

Definition at line 199 of file Metrics_Cache_T.h.

Referenced by ACE_Metrics_Cache< ACE_LOCK, ALLOCATOR >::flip_supplier_and_consumer(), ACE_Metrics_Cache< ACE_LOCK, ALLOCATOR >::report_dequeue_resume(), ACE_Metrics_Cache< ACE_LOCK, ALLOCATOR >::report_dequeue_start(), ACE_Metrics_Cache< ACE_LOCK, ALLOCATOR >::report_dequeue_stop(), ACE_Metrics_Cache< ACE_LOCK, ALLOCATOR >::report_dequeue_suspend(), ACE_Metrics_Cache< ACE_LOCK, ALLOCATOR >::report_enqueue_resume(), ACE_Metrics_Cache< ACE_LOCK, ALLOCATOR >::report_enqueue_start(), ACE_Metrics_Cache< ACE_LOCK, ALLOCATOR >::report_enqueue_stop(), and ACE_Metrics_Cache< ACE_LOCK, ALLOCATOR >::report_enqueue_suspend().

template<class ACE_LOCK, class ALLOCATOR>
u_long ACE_Metrics_Cache< ACE_LOCK, ALLOCATOR >::table_size_ [protected]
 

Definition at line 202 of file Metrics_Cache_T.h.


The documentation for this class was generated from the following files:
Generated on Thu Nov 9 11:24:57 2006 for ACE by doxygen 1.3.6