diff options
Diffstat (limited to 'TAO/performance-tests/Latency/Thread_Per_Connection/Client_Task.cpp')
-rw-r--r-- | TAO/performance-tests/Latency/Thread_Per_Connection/Client_Task.cpp | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/TAO/performance-tests/Latency/Thread_Per_Connection/Client_Task.cpp b/TAO/performance-tests/Latency/Thread_Per_Connection/Client_Task.cpp index 3271329b0db..ee32b19f696 100644 --- a/TAO/performance-tests/Latency/Thread_Per_Connection/Client_Task.cpp +++ b/TAO/performance-tests/Latency/Thread_Per_Connection/Client_Task.cpp @@ -15,17 +15,17 @@ Client_Task::Client_Task (Test::Roundtrip_ptr roundtrip, int Client_Task::svc (void) { - ACE_DECLARE_NEW_CORBA_ENV; + TAO_ENV_DECLARE_NEW_ENV; ACE_TRY { - this->validate_connection (ACE_TRY_ENV); + this->validate_connection (TAO_ENV_SINGLE_ARG_PARAMETER); ACE_TRY_CHECK; for (int i = 0; i != this->niterations_; ++i) { CORBA::ULongLong start = ACE_OS::gethrtime (); - (void) this->roundtrip_->test_method (start, ACE_TRY_ENV); + (void) this->roundtrip_->test_method (start TAO_ENV_ARG_PARAMETER); ACE_TRY_CHECK; ACE_hrtime_t now = ACE_OS::gethrtime (); @@ -50,14 +50,14 @@ Client_Task::accumulate_and_dump (ACE_Basic_Stats &totals, } void -Client_Task::validate_connection (CORBA::Environment &ACE_TRY_ENV) +Client_Task::validate_connection (TAO_ENV_SINGLE_ARG_DECL) { CORBA::ULongLong dummy = 0; for (int i = 0; i != 100; ++i) { ACE_TRY { - (void) this->roundtrip_->test_method (dummy, ACE_TRY_ENV); + (void) this->roundtrip_->test_method (dummy TAO_ENV_ARG_PARAMETER); ACE_TRY_CHECK; } ACE_CATCHANY {} ACE_ENDTRY; |