#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 Methods | |
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 Methods | |
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 Methods | |
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.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|