|
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 |
enum | event_id { WORK_START = 0,
WORK_STOP = 1,
WORK_SUSPEND = 2,
WORK_RESUME = 3
} |
Public Methods |
| 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 Methods |
| 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.