#include <Metrics_Cache_T.h>
Collaboration diagram for ACE_Metrics_Cache< ACE_LOCK, ALLOCATOR >:

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_ |
This class allows probes to be recorded into a single cache that monitors and other higher level metrics classes can query.
| typedef ACE_Metrics_Cache<ACE_LOCK, ALLOCATOR> ACE_Metrics_Cache< ACE_LOCK, ALLOCATOR >::ACE_METRICS_CACHE_TYPE |
| 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() | |||
| ) |
| ACE_Metrics_Cache< ACE_LOCK, ALLOCATOR >::~ACE_Metrics_Cache | ( | ) |
| ACE_Metrics_Cache< ACE_LOCK, ALLOCATOR >::ACE_Metrics_Cache | ( | const ACE_Metrics_Cache< ACE_LOCK, ALLOCATOR > & | ) | [private] |
| ALLOCATOR * ACE_Metrics_Cache< ACE_LOCK, ALLOCATOR >::allocator | ( | void | ) | [protected] |
| ACE_INLINE void ACE_Metrics_Cache< ACE_LOCK, ALLOCATOR >::flip_supplier_and_consumer | ( | ) |
| void ACE_Metrics_Cache< ACE_LOCK, ALLOCATOR >::flush_ACE_Metrics_Cache | ( | ) |
| ACE_INLINE int ACE_Metrics_Cache< ACE_LOCK, ALLOCATOR >::metrics_enabled | ( | void | ) | const |
| ACE_INLINE void ACE_Metrics_Cache< ACE_LOCK, ALLOCATOR >::metrics_enabled | ( | int | enabled | ) |
| void ACE_Metrics_Cache< ACE_LOCK, ALLOCATOR >::operator= | ( | const ACE_Metrics_Cache< ACE_LOCK, ALLOCATOR > & | ) | [private] |
| ACE_INLINE void ACE_Metrics_Cache< ACE_LOCK, ALLOCATOR >::report_dequeue_resume | ( | u_long | i | ) |
| ACE_INLINE void ACE_Metrics_Cache< ACE_LOCK, ALLOCATOR >::report_dequeue_start | ( | u_long | i | ) |
| ACE_INLINE void ACE_Metrics_Cache< ACE_LOCK, ALLOCATOR >::report_dequeue_stop | ( | u_long | i | ) |
| ACE_INLINE void ACE_Metrics_Cache< ACE_LOCK, ALLOCATOR >::report_dequeue_suspend | ( | u_long | i | ) |
| ACE_INLINE void ACE_Metrics_Cache< ACE_LOCK, ALLOCATOR >::report_enqueue_resume | ( | u_long | i | ) |
| ACE_BEGIN_VERSIONED_NAMESPACE_DECL ACE_INLINE void ACE_Metrics_Cache< ACE_LOCK, ALLOCATOR >::report_enqueue_start | ( | u_long | i | ) |
| ACE_INLINE void ACE_Metrics_Cache< ACE_LOCK, ALLOCATOR >::report_enqueue_stop | ( | u_long | i | ) |
| ACE_INLINE void ACE_Metrics_Cache< ACE_LOCK, ALLOCATOR >::report_enqueue_suspend | ( | u_long | i | ) |
| ACE_INLINE void ACE_Metrics_Cache< ACE_LOCK, ALLOCATOR >::reset_base_statistics | ( | ) |
ALLOCATOR* ACE_Metrics_Cache< ACE_LOCK, ALLOCATOR >::allocator_ [private] |
int ACE_Metrics_Cache< ACE_LOCK, ALLOCATOR >::consumer_index_ [protected] |
u_long* ACE_Metrics_Cache< ACE_LOCK, ALLOCATOR >::dequeue_count_[2] [protected] |
char** ACE_Metrics_Cache< ACE_LOCK, ALLOCATOR >::dequeue_names_ [protected] |
ACE_Metrics_Timeprobe<ACE_LOCK, ALLOCATOR>** ACE_Metrics_Cache< ACE_LOCK, ALLOCATOR >::dequeue_probes_[2] [protected] |
u_long* ACE_Metrics_Cache< ACE_LOCK, ALLOCATOR >::enqueue_count_[2] [protected] |
char** ACE_Metrics_Cache< ACE_LOCK, ALLOCATOR >::enqueue_names_ [protected] |
ACE_Metrics_Timeprobe<ACE_LOCK, ALLOCATOR>** ACE_Metrics_Cache< ACE_LOCK, ALLOCATOR >::enqueue_probes_[2] [protected] |
ACE_Time_Value ACE_Metrics_Cache< ACE_LOCK, ALLOCATOR >::interval_end_ [protected] |
int ACE_Metrics_Cache< ACE_LOCK, ALLOCATOR >::interval_initialized_ [protected] |
ACE_Time_Value ACE_Metrics_Cache< ACE_LOCK, ALLOCATOR >::interval_start_ [protected] |
int ACE_Metrics_Cache< ACE_LOCK, ALLOCATOR >::metrics_enabled_ [protected] |
u_long ACE_Metrics_Cache< ACE_LOCK, ALLOCATOR >::probe_set_size_ [protected] |
int ACE_Metrics_Cache< ACE_LOCK, ALLOCATOR >::supplier_index_ [protected] |
u_long ACE_Metrics_Cache< ACE_LOCK, ALLOCATOR >::table_size_ [protected] |
1.4.7-1