summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorsergio <sergio@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>1998-04-15 07:48:07 +0000
committersergio <sergio@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>1998-04-15 07:48:07 +0000
commit2630449a64f2844d159d2c0854affbf58d6bb43b (patch)
tree0c8af41adb22d82cfe374fd781de8321c97e417d
parent7e4b0941274539b26842863499713223ce28d972 (diff)
downloadATCD-2630449a64f2844d159d2c0854affbf58d6bb43b.tar.gz
*** empty log message ***
-rw-r--r--TAO/tests/Cubit/COOL/MT_Cubit/Task_Client.cpp4
-rw-r--r--TAO/tests/Cubit/COOL/MT_Cubit/server.cpp2
2 files changed, 4 insertions, 2 deletions
diff --git a/TAO/tests/Cubit/COOL/MT_Cubit/Task_Client.cpp b/TAO/tests/Cubit/COOL/MT_Cubit/Task_Client.cpp
index 3caff110df8..4e28075574d 100644
--- a/TAO/tests/Cubit/COOL/MT_Cubit/Task_Client.cpp
+++ b/TAO/tests/Cubit/COOL/MT_Cubit/Task_Client.cpp
@@ -565,6 +565,8 @@ Client::run_tests (Cubit_ptr cb,
delta = ((40 * fabs (real_time) / 100) + (60 * delta / 100)); // pow(10,6)
latency += real_time;
#else /* ACE_LACKS_FLOATING_POINT */
+ // Store the time in secs.
+ real_time = delta_t.sec () + (double)delta_t.usec () / ACE_ONE_SECOND_IN_USECS;
delta = ((0.4 * fabs (real_time * (1000 * 1000))) + (0.6 * delta)); // pow(10,6)
latency += real_time;
my_jitter_array [i] = real_time * 1000;
@@ -594,7 +596,7 @@ Client::run_tests (Cubit_ptr cb,
latency,
thread_id);
#else
- ACE_DEBUG ((LM_DEBUG, "cube average call ACE_OS::time\t= %f msec, \t"
+ ACE_DEBUG ((LM_DEBUG, "(%P|%t) cube average call ACE_OS::time\t= %f msec, \t"
"%f calls/second\n",
latency * 1000,
1 / latency));
diff --git a/TAO/tests/Cubit/COOL/MT_Cubit/server.cpp b/TAO/tests/Cubit/COOL/MT_Cubit/server.cpp
index f16ab62af9e..8ba1d5cd275 100644
--- a/TAO/tests/Cubit/COOL/MT_Cubit/server.cpp
+++ b/TAO/tests/Cubit/COOL/MT_Cubit/server.cpp
@@ -106,7 +106,7 @@ main (int argc, char** argv)
COOL::EOA::bind(argv[2], env);
if (env.exception()) {
- ACE_DEBUG ((LM_ERROR, "Impossible to bind the ORB to the description:%s\n", argv[1]));
+ ACE_DEBUG ((LM_ERROR, "Impossible to bind the ORB to the description: %s\n", argv[2]));
return -1;
}