summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorarvindk <arvindk@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>2003-08-06 15:40:02 +0000
committerarvindk <arvindk@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>2003-08-06 15:40:02 +0000
commit3789939b492654fc12896d97e11f91da493f51e3 (patch)
tree3209bd81d429aaa7c91a4b57cdbf8c8037bdd278
parent222a5507b2ed97d2bdb46a8bfb00bc58cf1d9793 (diff)
downloadATCD-3789939b492654fc12896d97e11f91da493f51e3.tar.gz
ChangeLogTag: Wed Aug 6 10:35:15 CDT 2003 Arvind S. Krishna <arvindk@dre.vanderbilt.edu>
-rw-r--r--TAO/CIAO/ChangeLog7
-rw-r--r--TAO/CIAO/performance-tests/Benchmark/RoundTrip/client.cpp6
-rwxr-xr-xTAO/CIAO/performance-tests/Benchmark/RoundTrip/run_test.pl6
3 files changed, 16 insertions, 3 deletions
diff --git a/TAO/CIAO/ChangeLog b/TAO/CIAO/ChangeLog
index b4244571188..dffee19df88 100644
--- a/TAO/CIAO/ChangeLog
+++ b/TAO/CIAO/ChangeLog
@@ -1,3 +1,10 @@
+2003-08-06 Arvind S. Krishna <arvindk@equus.dre.vanderbilt.edu>
+
+ * performance-tests/Benchmark/RoundTrip/RoundTrip_exec.cpp:
+ * performance-tests/Benchmark/RoundTrip/run_test.pl:
+ Fixed problems relating to parsing arguments when the number of iterations
+ is specified from the command line.
+
Tue Aug 05 17:25:45 2003 George Edwards <g.edwards@vanderbilt.edu>
* examples/handcrafted/BasicSP_EC2/BMClosedED/BMClosedED.mpc:
diff --git a/TAO/CIAO/performance-tests/Benchmark/RoundTrip/client.cpp b/TAO/CIAO/performance-tests/Benchmark/RoundTrip/client.cpp
index 7f352ff7144..74a408e4253 100644
--- a/TAO/CIAO/performance-tests/Benchmark/RoundTrip/client.cpp
+++ b/TAO/CIAO/performance-tests/Benchmark/RoundTrip/client.cpp
@@ -95,6 +95,12 @@ main (int argc, char *argv[])
//set priority on the platform
set_priority();
+ if (parse_args(argc, argv) == -1)
+ {
+ ACE_DEBUG ((LM_DEBUG, "Error parsing Arguments\n"));
+ return -1;
+ }
+
// Initialize orb
CORBA::ORB_var orb = CORBA::ORB_init (argc, argv ACE_ENV_ARG_PARAMETER);
diff --git a/TAO/CIAO/performance-tests/Benchmark/RoundTrip/run_test.pl b/TAO/CIAO/performance-tests/Benchmark/RoundTrip/run_test.pl
index 0242c70a326..9da60154042 100755
--- a/TAO/CIAO/performance-tests/Benchmark/RoundTrip/run_test.pl
+++ b/TAO/CIAO/performance-tests/Benchmark/RoundTrip/run_test.pl
@@ -43,7 +43,7 @@ $end_args = "end_home -c file://$svr_ior";
$shutdown_args = "shutdown";
# Client program command line arguments
-$cl_args = "";
+$cl_args = "-i 100000";
# CIAO daemon process definition
$DS = new PerlACE::Process ("$CIAO_ROOT/tools/Daemon/CIAO_Daemon",
@@ -79,14 +79,14 @@ if ($client != 0) {
$status = 1;
}
-## Terminating the ComponentServer running the RateGen home.
+## Terminating the ComponentServer running.
$DC = new PerlACE::Process ("$controller",
"$common_args $end_args");
$ctrl = $DC->SpawnWaitKill (60);
if ($ctrl != 0) {
print STDERR "ERROR: Fail to end component server\n";
- $DS->Kill ();
+ $DC->Kill ();
exit 1;
}