summaryrefslogtreecommitdiff
path: root/TAO/performance-tests
diff options
context:
space:
mode:
authorJohnny Willemsen <jwillemsen@remedy.nl>2008-10-10 12:30:04 +0000
committerJohnny Willemsen <jwillemsen@remedy.nl>2008-10-10 12:30:04 +0000
commitd47d0eda12f82231c80b98756a34ebdddd96c2e3 (patch)
tree6b65f9487f49e5f9617f76f010e363bd3f53c113 /TAO/performance-tests
parent7901978ef90e8fc5185723b636683bf9694c8650 (diff)
downloadATCD-d47d0eda12f82231c80b98756a34ebdddd96c2e3.tar.gz
Diffstat (limited to 'TAO/performance-tests')
-rw-r--r--TAO/performance-tests/Sequence_Latency/AMH_Single_Threaded/client.cpp26
1 files changed, 13 insertions, 13 deletions
diff --git a/TAO/performance-tests/Sequence_Latency/AMH_Single_Threaded/client.cpp b/TAO/performance-tests/Sequence_Latency/AMH_Single_Threaded/client.cpp
index 36ba21efaae..63d045051bb 100644
--- a/TAO/performance-tests/Sequence_Latency/AMH_Single_Threaded/client.cpp
+++ b/TAO/performance-tests/Sequence_Latency/AMH_Single_Threaded/client.cpp
@@ -19,7 +19,7 @@ int do_dump_history = 0;
int do_shutdown = 1;
int sz = 512;
-const char *data_type = "octet";
+const ACE_TCHAR *data_type = ACE_TEXT("octet");
int
parse_args (int argc, ACE_TCHAR *argv[])
@@ -33,12 +33,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;
@@ -388,27 +388,27 @@ ACE_TMAIN(int argc, ACE_TCHAR *argv[])
start);
}
- if (ACE_OS::strcmp (data_type, "octet") == 0 )
+ if (ACE_OS::strcmp (data_type, ACE_TEXT("octet")) == 0)
{
test_octet_seq (roundtrip.in ());
}
- 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 ());
}
- 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 ());
}
- 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 ());
}
- 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 ());
}
- 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 ());
}