summaryrefslogtreecommitdiff
path: root/TAO/orbsvcs/Time_Service/Clerk_i.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'TAO/orbsvcs/Time_Service/Clerk_i.cpp')
-rw-r--r--TAO/orbsvcs/Time_Service/Clerk_i.cpp14
1 files changed, 3 insertions, 11 deletions
diff --git a/TAO/orbsvcs/Time_Service/Clerk_i.cpp b/TAO/orbsvcs/Time_Service/Clerk_i.cpp
index d0896e7e994..a80fb4611c6 100644
--- a/TAO/orbsvcs/Time_Service/Clerk_i.cpp
+++ b/TAO/orbsvcs/Time_Service/Clerk_i.cpp
@@ -101,7 +101,7 @@ Clerk_i::read_ior (const char *filename)
int
Clerk_i::parse_args (void)
{
- ACE_Get_Opt get_opts (this->argc_, this->argv_, "dt:u:f:o:");
+ ACE_Get_Opt get_opts (this->argc_, this->argv_, "dt:f:o:");
int c, result;
@@ -112,16 +112,10 @@ Clerk_i::parse_args (void)
TAO_debug_level++;
break;
- case 't': // time in secs after which the clerk should update time.
+ case 't': // time after which the clerk should update time.
this->timer_value_ = atoi (get_opts.optarg);
break;
- case 'u':
- // time in usecs after which the clerk should update time.
- // Continues the precision of the -t option.
- this->timer_value_usecs_ = atoi (get_opts.optarg);
- break;
-
case 'f': // read the server IORs from a file.
result = this->read_ior (get_opts.optarg);
@@ -149,8 +143,7 @@ Clerk_i::parse_args (void)
"[SERVER] Process/Thread Id : (%P/%t)"
"usage: %s"
" [-d]"
- " [-t] <Timer value inn Secs>"
- " [-u] <Timer value in uSecs>"
+ " [-t] <Timer value>"
" [-f] <ior_input_file>"
" [-o] <ior_output_file>"
"\n",
@@ -354,7 +347,6 @@ Clerk_i::create_clerk (void)
// of server IORs and the no. of servers.
ACE_NEW_RETURN (this->time_service_clerk_impl_,
TAO_Time_Service_Clerk (this->timer_value_,
- this->timer_value_usecs_,
this->server_),
0);