#include <Timeprobe_T.h>
Inheritance diagram for ACE_Timeprobe_Ex< ACE_LOCK, ALLOCATOR >:
Public Types | |
typedef ACE_Timeprobe_Ex< ACE_LOCK, ALLOCATOR > | SELF |
Self. | |
typedef ACE_Timeprobe_Ex< ACE_LOCK, ACE_Allocator > | ACE_Timeprobe |
typedef ACE_Unbounded_Set< ACE_Event_Descriptions > | EVENT_DESCRIPTIONS |
We can hold multiple event description tables. | |
Public Methods | |
ACE_Timeprobe_Ex (u_long size=ACE_DEFAULT_TIMEPROBE_TABLE_SIZE) | |
Create Timeprobes with <size> slots. | |
ACE_Timeprobe_Ex (ALLOCATOR *allocator, u_long size=ACE_DEFAULT_TIMEPROBE_TABLE_SIZE) | |
Create Timeprobes with <size> slots. | |
~ACE_Timeprobe_Ex (void) | |
Destructor. | |
void | timeprobe (u_long event) |
Record a time. <event> is used to describe this time probe. | |
void | timeprobe (const char *id) |
Record a time. <id> is used to describe this time probe. | |
int | event_descriptions (const char **descriptions, u_long minimum_id) |
Record event descriptions. | |
void | print_times (void) |
Print the time probes. | |
void | print_absolute_times (void) |
Print the time probes. | |
void | reset (void) |
Reset the slots. All old time probes will be lost. | |
void | increase_size (u_long size) |
ACE_Timeprobe_Ex (const ACE_Timeprobe_Ex< ACE_LOCK, ALLOCATOR > &) | |
Not implemented (stupid MSVC won't let it be protected). | |
ACE_Unbounded_Set< ACE_Event_Descriptions > & | event_descriptions (void) |
Event Descriptions. | |
ACE_Unbounded_Set< ACE_Event_Descriptions > & | sorted_event_descriptions (void) |
Sorted Event Descriptions. | |
const char * | find_description_i (u_long i) |
Find description of event <i>. | |
void | sort_event_descriptions_i (void) |
Sort event descriptions. | |
ACE_timeprobe_t * | timeprobes (void) |
Time probe slots. | |
ACE_LOCK & | lock (void) |
Synchronization variable. | |
u_long | max_size (void) |
Max size of timestamp table. | |
u_long | current_size (void) |
Current size of timestamp table. | |
Protected Methods | |
ALLOCATOR * | allocator (void) |
Protected Attributes | |
EVENT_DESCRIPTIONS | event_descriptions_ |
Event Descriptions. | |
EVENT_DESCRIPTIONS | sorted_event_descriptions_ |
Sorted Event Descriptions. | |
ACE_timeprobe_t * | timeprobes_ |
Time probe slots. | |
ACE_LOCK | lock_ |
Synchronization variable. | |
u_long | max_size_ |
Max size of timestamp table. | |
u_long | current_size_ |
Current size of timestamp table. | |
u_short | report_buffer_full_ |
Private Attributes | |
ALLOCATOR * | allocator_ |
|
|
We can hold multiple event description tables.
|
|
Self.
|
|
Create Timeprobes with <size> slots.
|
|
Create Timeprobes with <size> slots.
|
|
Destructor.
|
|
Not implemented (stupid MSVC won't let it be protected).
|
|
Obtain an allocator pointer. If there is no allocator stored in the instance, the singleton allocator in the current process is used. |
|
Current size of timestamp table.
|
|
Event Descriptions.
|
|
Record event descriptions.
|
|
Find description of event <i>.
|
|
|
|
Synchronization variable.
|
|
Max size of timestamp table.
|
|
Print the time probes.
|
|
Print the time probes.
|
|
Reset the slots. All old time probes will be lost.
|
|
Sort event descriptions.
|
|
Sorted Event Descriptions.
|
|
Record a time. <id> is used to describe this time probe.
|
|
Record a time. <event> is used to describe this time probe.
|
|
Time probe slots.
|
|
|
|
Current size of timestamp table.
|
|
Event Descriptions.
|
|
Synchronization variable.
|
|
Max size of timestamp table.
|
|
flag indicating the report buffer has filled up, and is now acting as a ring-buffer using modulus arithmetic: this saves the max_size_ most recent time stamps and loses earlier ones until drained. |
|
Sorted Event Descriptions.
|
|
Time probe slots.
|