diff options
author | Ossama Othman <ossama-othman@users.noreply.github.com> | 2001-12-08 21:59:30 +0000 |
---|---|---|
committer | Ossama Othman <ossama-othman@users.noreply.github.com> | 2001-12-08 21:59:30 +0000 |
commit | 63165b00e2d667e39e15cf084128d94a563d484e (patch) | |
tree | 6939cf1ed0a80ce8a3224d33f3d23c0e1b9a517f /TAO/performance-tests/Thread_Pool_Latency/Client_Task.cpp | |
parent | 6579bccb3a3f22f882ef908ad5f7e1a65b00b133 (diff) | |
download | ATCD-63165b00e2d667e39e15cf084128d94a563d484e.tar.gz |
Merged corba-env-clean branch.
Diffstat (limited to 'TAO/performance-tests/Thread_Pool_Latency/Client_Task.cpp')
-rw-r--r-- | TAO/performance-tests/Thread_Pool_Latency/Client_Task.cpp | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/TAO/performance-tests/Thread_Pool_Latency/Client_Task.cpp b/TAO/performance-tests/Thread_Pool_Latency/Client_Task.cpp index 8f88421e8a0..97f1ef0a50b 100644 --- a/TAO/performance-tests/Thread_Pool_Latency/Client_Task.cpp +++ b/TAO/performance-tests/Thread_Pool_Latency/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; |