diff options
Diffstat (limited to 'TAO/tests/Portable_Interceptors/Benchmark/client.cpp')
-rw-r--r-- | TAO/tests/Portable_Interceptors/Benchmark/client.cpp | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/TAO/tests/Portable_Interceptors/Benchmark/client.cpp b/TAO/tests/Portable_Interceptors/Benchmark/client.cpp index 769632b1f33..cf45cfb9fb4 100644 --- a/TAO/tests/Portable_Interceptors/Benchmark/client.cpp +++ b/TAO/tests/Portable_Interceptors/Benchmark/client.cpp @@ -50,7 +50,7 @@ parse_args (int argc, char *argv[]) void run_test (Test_Interceptors::Secure_Vault_ptr server - TAO_ENV_ARG_DECL) + ACE_ENV_ARG_DECL) { int i = 0; const char user[] = "root"; @@ -68,7 +68,7 @@ run_test (Test_Interceptors::Secure_Vault_ptr server // Record current time. ACE_hrtime_t latency_base = ACE_OS::gethrtime (); - server->ready (TAO_ENV_SINGLE_ARG_PARAMETER); + server->ready (ACE_ENV_SINGLE_ARG_PARAMETER); ACE_CHECK; // Grab timestamp again. @@ -96,7 +96,7 @@ run_test (Test_Interceptors::Secure_Vault_ptr server // Record current time. ACE_hrtime_t latency_base = ACE_OS::gethrtime (); - server->authenticate (user TAO_ENV_ARG_PARAMETER); + server->authenticate (user ACE_ENV_ARG_PARAMETER); ACE_TRY_CHECK; // Grab timestamp again. @@ -134,7 +134,7 @@ run_test (Test_Interceptors::Secure_Vault_ptr server server->update_records (id, record - TAO_ENV_ARG_PARAMETER); + ACE_ENV_ARG_PARAMETER); // Grab timestamp again. ACE_hrtime_t now = ACE_OS::gethrtime (); @@ -191,23 +191,23 @@ main (int argc, char *argv[]) temp_initializer; PortableInterceptor::register_orb_initializer (initializer.in () - TAO_ENV_ARG_PARAMETER); + ACE_ENV_ARG_PARAMETER); ACE_TRY_CHECK; CORBA::ORB_var orb = - CORBA::ORB_init (argc, argv, "" TAO_ENV_ARG_PARAMETER); + CORBA::ORB_init (argc, argv, "" ACE_ENV_ARG_PARAMETER); ACE_TRY_CHECK; if (parse_args (argc, argv) != 0) return 1; CORBA::Object_var object = - orb->string_to_object (ior TAO_ENV_ARG_PARAMETER); + orb->string_to_object (ior ACE_ENV_ARG_PARAMETER); ACE_TRY_CHECK; Test_Interceptors::Secure_Vault_var server = Test_Interceptors::Secure_Vault::_narrow (object.in () - TAO_ENV_ARG_PARAMETER); + ACE_ENV_ARG_PARAMETER); ACE_TRY_CHECK; if (CORBA::is_nil (server.in ())) @@ -223,10 +223,10 @@ main (int argc, char *argv[]) // This test is useful for benchmarking the differences when // the same method is intercepted by different interceptors // wanting to achieve different functionality. - run_test (server.in () TAO_ENV_ARG_PARAMETER); + run_test (server.in () ACE_ENV_ARG_PARAMETER); ACE_TRY_CHECK; - server->shutdown (TAO_ENV_SINGLE_ARG_PARAMETER); + server->shutdown (ACE_ENV_SINGLE_ARG_PARAMETER); ACE_TRY_CHECK; } ACE_CATCHANY |