summaryrefslogtreecommitdiff
path: root/ace/Timeprobe_T.h
diff options
context:
space:
mode:
Diffstat (limited to 'ace/Timeprobe_T.h')
-rw-r--r--ace/Timeprobe_T.h7
1 files changed, 6 insertions, 1 deletions
diff --git a/ace/Timeprobe_T.h b/ace/Timeprobe_T.h
index 5e327de33bc..fe5e031396c 100644
--- a/ace/Timeprobe_T.h
+++ b/ace/Timeprobe_T.h
@@ -48,6 +48,11 @@ class ACE_Timeprobe
// minimum_id for each table. It is up to the user to make sure
// that multiple tables do not share the same event id range.
public:
+ enum
+ {
+ ACE_DEFAULT_TABLE_SIZE = 4 * 1024
+ // Default size of the slots in Timeprobe
+ };
typedef ACE_Timeprobe<ACE_LOCK>
SELF;
@@ -57,7 +62,7 @@ public:
EVENT_DESCRIPTIONS;
// We can hold multiple event description tables.
- ACE_Timeprobe (u_long size = ACE_DEFAULT_TIMEPROBE_TABLE_SIZE);
+ ACE_Timeprobe (u_long size = ACE_DEFAULT_TABLE_SIZE);
// Create Timeprobes with <size> slots
~ACE_Timeprobe (void);