diff options
Diffstat (limited to 'TAO/performance-tests/Sequence_Latency/AMI/client.cpp')
-rw-r--r-- | TAO/performance-tests/Sequence_Latency/AMI/client.cpp | 26 |
1 files changed, 13 insertions, 13 deletions
diff --git a/TAO/performance-tests/Sequence_Latency/AMI/client.cpp b/TAO/performance-tests/Sequence_Latency/AMI/client.cpp index 7fc32054966..a9e23b6a036 100644 --- a/TAO/performance-tests/Sequence_Latency/AMI/client.cpp +++ b/TAO/performance-tests/Sequence_Latency/AMI/client.cpp @@ -23,7 +23,7 @@ ACE_hrtime_t throughput_base; int niterations = 1000; int sz = 512; -const char *data_type = "octet"; +const ACE_TCHAR *data_type = ACE_TEXT("octet"); int parse_args (int argc, ACE_TCHAR *argv[]) @@ -37,12 +37,12 @@ parse_args (int argc, ACE_TCHAR *argv[]) case 't': data_type = get_opts.opt_arg (); - if (ACE_OS::strcmp (data_type, "octet") != 0 && - ACE_OS::strcmp (data_type, "char") != 0 && - ACE_OS::strcmp (data_type, "long") != 0 && - ACE_OS::strcmp (data_type, "short") != 0 && - ACE_OS::strcmp (data_type, "double") != 0 && - ACE_OS::strcmp (data_type, "longlong") != 0) + if (ACE_OS::strcmp (data_type, ACE_TEXT("octet")) != 0 && + ACE_OS::strcmp (data_type, ACE_TEXT("char")) != 0 && + ACE_OS::strcmp (data_type, ACE_TEXT("long")) != 0 && + ACE_OS::strcmp (data_type, ACE_TEXT("short")) != 0 && + ACE_OS::strcmp (data_type, ACE_TEXT("double")) != 0 && + ACE_OS::strcmp (data_type, ACE_TEXT("longlong")) != 0) return -1; break; @@ -426,42 +426,42 @@ ACE_TMAIN(int argc, ACE_TCHAR *argv[]) poa_manager->activate (); - if (ACE_OS::strcmp (data_type, "octet") == 0 ) + if (ACE_OS::strcmp (data_type, ACE_TEXT("octet")) == 0 ) { test_octet_seq (roundtrip.in (), orb.in (), roundtrip_handler.in (), roundtrip_handler_impl); } - else if (ACE_OS::strcmp (data_type, "char") == 0) + else if (ACE_OS::strcmp (data_type, ACE_TEXT("char")) == 0) { test_char_seq (roundtrip.in (), orb.in (), roundtrip_handler.in (), roundtrip_handler_impl); } - else if (ACE_OS::strcmp (data_type, "long") == 0) + else if (ACE_OS::strcmp (data_type, ACE_TEXT("long")) == 0) { test_long_seq (roundtrip.in (), orb.in (), roundtrip_handler.in (), roundtrip_handler_impl); } - else if (ACE_OS::strcmp (data_type, "short") == 0) + else if (ACE_OS::strcmp (data_type, ACE_TEXT("short")) == 0) { test_short_seq (roundtrip.in (), orb.in (), roundtrip_handler.in (), roundtrip_handler_impl); } - else if (ACE_OS::strcmp (data_type, "double") == 0) + else if (ACE_OS::strcmp (data_type, ACE_TEXT("double")) == 0) { test_double_seq (roundtrip.in (), orb.in (), roundtrip_handler.in (), roundtrip_handler_impl); } - else if (ACE_OS::strcmp (data_type, "longlong") == 0) + else if (ACE_OS::strcmp (data_type, ACE_TEXT("longlong")) == 0) { test_longlong_seq (roundtrip.in (), orb.in (), |