summaryrefslogtreecommitdiff
path: root/TAO/performance-tests
diff options
context:
space:
mode:
authorsergio <sergio@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>1998-06-11 22:12:37 +0000
committersergio <sergio@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>1998-06-11 22:12:37 +0000
commit6fb61019dc9c15d1009de933ab5321ec96647c0b (patch)
treee7ad61be380c1d09c01b6d3af3cdcb946bef378c /TAO/performance-tests
parentee0655f781ccd03d0e73569301ed649afd058415 (diff)
downloadATCD-6fb61019dc9c15d1009de933ab5321ec96647c0b.tar.gz
*** empty log message ***
Diffstat (limited to 'TAO/performance-tests')
-rw-r--r--TAO/performance-tests/Cubit/TAO/MT_Cubit/Task_Client.cpp1
-rw-r--r--TAO/performance-tests/Cubit/TAO/MT_Cubit/cubit_i.cpp5
2 files changed, 4 insertions, 2 deletions
diff --git a/TAO/performance-tests/Cubit/TAO/MT_Cubit/Task_Client.cpp b/TAO/performance-tests/Cubit/TAO/MT_Cubit/Task_Client.cpp
index 6cdb861d879..e0ef4e42a2c 100644
--- a/TAO/performance-tests/Cubit/TAO/MT_Cubit/Task_Client.cpp
+++ b/TAO/performance-tests/Cubit/TAO/MT_Cubit/Task_Client.cpp
@@ -120,6 +120,7 @@ Task_State::Task_State (int argc, char **argv)
{
shutdown_ = 1;
thread_count_ = 1;
+ datatype_ = CB_OCTET;
}
// allocate the array of character pointers.
diff --git a/TAO/performance-tests/Cubit/TAO/MT_Cubit/cubit_i.cpp b/TAO/performance-tests/Cubit/TAO/MT_Cubit/cubit_i.cpp
index 393a8385fd5..2a1a0fc2aea 100644
--- a/TAO/performance-tests/Cubit/TAO/MT_Cubit/cubit_i.cpp
+++ b/TAO/performance-tests/Cubit/TAO/MT_Cubit/cubit_i.cpp
@@ -16,9 +16,10 @@ CORBA::Octet
Cubit_i::cube_octet (CORBA::Octet o,
CORBA::Environment &)
{
- //ACE_ERROR (( LM_ERROR, " {%t}\n"));
- if (ts_->utilization_task_started_ == 0)
+ if (ts_->run_server_utilization_test_ == 1 &&
+ ts_->utilization_task_started_ == 0)
ts_->barrier_->wait ();
+
return (CORBA::Octet) (o * o * o);
}