summaryrefslogtreecommitdiff
path: root/TAO/orbsvcs/tests/EC_Throughput/ECT_Supplier_Driver.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'TAO/orbsvcs/tests/EC_Throughput/ECT_Supplier_Driver.cpp')
-rw-r--r--TAO/orbsvcs/tests/EC_Throughput/ECT_Supplier_Driver.cpp9
1 files changed, 3 insertions, 6 deletions
diff --git a/TAO/orbsvcs/tests/EC_Throughput/ECT_Supplier_Driver.cpp b/TAO/orbsvcs/tests/EC_Throughput/ECT_Supplier_Driver.cpp
index 7ccdb843f82..a0aa22447ab 100644
--- a/TAO/orbsvcs/tests/EC_Throughput/ECT_Supplier_Driver.cpp
+++ b/TAO/orbsvcs/tests/EC_Throughput/ECT_Supplier_Driver.cpp
@@ -77,7 +77,7 @@ ECT_Supplier_Driver::run (int argc, char* argv[])
" burst count = <%d>\n"
" burst size = <%d>\n"
" event size = <%d>\n"
- " burst pause = <%d>\n"
+ " burst size = <%d>\n"
" type start = <%d>\n"
" type count = <%d>\n"
" pid file name = <%s>\n",
@@ -257,16 +257,13 @@ ECT_Supplier_Driver::disconnect_suppliers (CORBA::Environment &TAO_IN_ENV)
void
ECT_Supplier_Driver::dump_results (void)
{
- ECT_Driver::Throughput_Stats throughput;
for (int i = 0; i < this->n_suppliers_; ++i)
{
char buf[BUFSIZ];
ACE_OS::sprintf (buf, "supplier_%02.2d", i);
this->suppliers_[i]->dump_results (buf);
- this->suppliers_[i]->accumulate (throughput);
}
- throughput.dump_results ("ECT_Supplier", "accumulated");
}
int
@@ -323,7 +320,7 @@ ECT_Supplier_Driver::parse_args (int argc, char *argv [])
"-u <burst count> "
"-n <burst size> "
"-b <event payload size> "
- "-t <burst pause (usecs)> "
+ "-T <burst pause (usecs)> "
"-h <type_start,type_count> "
"-p <pid file name> "
"\n",
@@ -365,7 +362,7 @@ ECT_Supplier_Driver::parse_args (int argc, char *argv [])
if (this->n_suppliers_ <= 0)
{
this->n_suppliers_ = 1;
- ACE_ERROR_RETURN ((LM_ERROR,
+ ACE_ERROR_RETURN ((LM_DEBUG,
"%s: number of suppliers out of range, "
"reset to default (%d)\n",
argv[0], 1), -1);