#include <Metrics_Cache_T.h>
Inheritance diagram for ACE_Metrics_Timeprobe< ACE_LOCK, ALLOCATOR >:
Public Types | |
typedef ACE_Metrics_Timeprobe< ACE_LOCK, ALLOCATOR > | ACE_METRICS_TIMEPROBE_TYPE |
typedef ACE_timeprobe_t | ACE_METRICS_TIMEPROBE_DATA_TYPE |
typedef ACE_METRICS_TIMEPROBE_TYPE * | ACE_METRICS_TIMEPROBE_BASED_PTR_TYPE |
typedef char * | ACE_METRICS_NAME_BASED_PTR_TYPE |
WORK_START = 0 | |
WORK_STOP = 1 | |
WORK_SUSPEND = 2 | |
WORK_RESUME = 3 | |
enum | event_id { WORK_START = 0, WORK_STOP = 1, WORK_SUSPEND = 2, WORK_RESUME = 3 } |
Public Member Functions | |
ACE_Metrics_Timeprobe (u_int id=0, const char *name=0, u_long size=METRICS_DEFAULT_TIMEPROBE_TABLE_SIZE) | |
ACE_Metrics_Timeprobe (ALLOCATOR *allocatorPtr, u_int id=0, const char *name=0, u_long size=METRICS_DEFAULT_TIMEPROBE_TABLE_SIZE) | |
virtual | ~ACE_Metrics_Timeprobe () |
int | is_event (const ACE_METRICS_TIMEPROBE_DATA_TYPE &t, ACE_Metrics_Timeprobe< ACE_LOCK, ALLOCATOR >::event_id id) |
const char * | probe_name (void) |
void | probe_name (char *name) |
u_int | probe_id (void) |
void | probe_id (u_int id) |
void | flush_ACE_Metrics_Timeprobe () |
Protected Attributes | |
u_int | id_ |
char * | name_ |
Private Member Functions | |
ACE_Metrics_Timeprobe (const ACE_Metrics_Timeprobe< ACE_LOCK, ALLOCATOR > &) | |
void | operator= (const ACE_Metrics_Timeprobe< ACE_LOCK, ALLOCATOR > &) |
This class provides a probe for specific thread and method call metrics timing points.
typedef char* ACE_Metrics_Timeprobe< ACE_LOCK, ALLOCATOR >::ACE_METRICS_NAME_BASED_PTR_TYPE |
typedef ACE_METRICS_TIMEPROBE_TYPE* ACE_Metrics_Timeprobe< ACE_LOCK, ALLOCATOR >::ACE_METRICS_TIMEPROBE_BASED_PTR_TYPE |
typedef ACE_timeprobe_t ACE_Metrics_Timeprobe< ACE_LOCK, ALLOCATOR >::ACE_METRICS_TIMEPROBE_DATA_TYPE |
typedef ACE_Metrics_Timeprobe<ACE_LOCK, ALLOCATOR> ACE_Metrics_Timeprobe< ACE_LOCK, ALLOCATOR >::ACE_METRICS_TIMEPROBE_TYPE |
enum ACE_Metrics_Timeprobe::event_id |
ACE_BEGIN_VERSIONED_NAMESPACE_DECL ACE_Metrics_Timeprobe< ACE_LOCK, ALLOCATOR >::ACE_Metrics_Timeprobe | ( | u_int | id = 0 , |
|
const char * | name = 0 , |
|||
u_long | size = METRICS_DEFAULT_TIMEPROBE_TABLE_SIZE | |||
) |
ACE_Metrics_Timeprobe< ACE_LOCK, ALLOCATOR >::ACE_Metrics_Timeprobe | ( | ALLOCATOR * | allocatorPtr, | |
u_int | id = 0 , |
|||
const char * | name = 0 , |
|||
u_long | size = METRICS_DEFAULT_TIMEPROBE_TABLE_SIZE | |||
) |
ACE_Metrics_Timeprobe< ACE_LOCK, ALLOCATOR >::~ACE_Metrics_Timeprobe | ( | ) | [virtual] |
ACE_Metrics_Timeprobe< ACE_LOCK, ALLOCATOR >::ACE_Metrics_Timeprobe | ( | const ACE_Metrics_Timeprobe< ACE_LOCK, ALLOCATOR > & | ) | [private] |
void ACE_Metrics_Timeprobe< ACE_LOCK, ALLOCATOR >::flush_ACE_Metrics_Timeprobe | ( | ) |
int ACE_Metrics_Timeprobe< ACE_LOCK, ALLOCATOR >::is_event | ( | const ACE_METRICS_TIMEPROBE_DATA_TYPE & | t, | |
ACE_Metrics_Timeprobe< ACE_LOCK, ALLOCATOR >::event_id | id | |||
) |
void ACE_Metrics_Timeprobe< ACE_LOCK, ALLOCATOR >::operator= | ( | const ACE_Metrics_Timeprobe< ACE_LOCK, ALLOCATOR > & | ) | [private] |
void ACE_Metrics_Timeprobe< ACE_LOCK, ALLOCATOR >::probe_id | ( | u_int | id | ) |
u_int ACE_Metrics_Timeprobe< ACE_LOCK, ALLOCATOR >::probe_id | ( | void | ) |
void ACE_Metrics_Timeprobe< ACE_LOCK, ALLOCATOR >::probe_name | ( | char * | name | ) |
const char * ACE_Metrics_Timeprobe< ACE_LOCK, ALLOCATOR >::probe_name | ( | void | ) |
u_int ACE_Metrics_Timeprobe< ACE_LOCK, ALLOCATOR >::id_ [protected] |
char* ACE_Metrics_Timeprobe< ACE_LOCK, ALLOCATOR >::name_ [protected] |