summaryrefslogtreecommitdiff
path: root/TAO/performance-tests
diff options
context:
space:
mode:
authorJohnny Willemsen <jwillemsen@remedy.nl>2008-10-09 19:21:59 +0000
committerJohnny Willemsen <jwillemsen@remedy.nl>2008-10-09 19:21:59 +0000
commit0072fbe26eefdeea5c2285abc7e0791c6ddaa0d0 (patch)
treee09bc2ce06a1bc69a6766a8aeb1815a0e55b4f03 /TAO/performance-tests
parent5766da3476a66f63bb95827dddeed794fd38ee14 (diff)
downloadATCD-0072fbe26eefdeea5c2285abc7e0791c6ddaa0d0.tar.gz
Diffstat (limited to 'TAO/performance-tests')
-rw-r--r--TAO/performance-tests/RTCorba/Multiple_Endpoints/Single_Endpoint/client.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/TAO/performance-tests/RTCorba/Multiple_Endpoints/Single_Endpoint/client.cpp b/TAO/performance-tests/RTCorba/Multiple_Endpoints/Single_Endpoint/client.cpp
index 76c48992362..42d8a55ab43 100644
--- a/TAO/performance-tests/RTCorba/Multiple_Endpoints/Single_Endpoint/client.cpp
+++ b/TAO/performance-tests/RTCorba/Multiple_Endpoints/Single_Endpoint/client.cpp
@@ -38,7 +38,7 @@ public:
void accumulate_into (ACE_Throughput_Stats &throughput) const;
// Accumulate the throughput statistics into <throughput>
- void dump_stats (const char* msg, ACE_UINT32 gsf);
+ void dump_stats (const ACE_TCHAR* msg, ACE_UINT32 gsf);
// Output the accumulated statistics.
// = The ACE_Task_Base methods....
@@ -213,8 +213,8 @@ ACE_TMAIN(int argc, ACE_TCHAR *argv[])
{
client[j].accumulate_into (throughput);
- char buf[64];
- ACE_OS::sprintf (buf, "Thread (index= %d)", j);
+ ACE_TCHAR buf[64];
+ ACE_OS::sprintf (buf, ACE_TEXT("Thread (index= %d)"), j);
client[j].dump_stats (buf, gsf);
}
throughput.dump_results (ACE_TEXT("Aggregated"), gsf);
@@ -331,7 +331,7 @@ Client::accumulate_into (ACE_Throughput_Stats &throughput) const
}
void
-Client::dump_stats (const char* msg, ACE_UINT32 gsf)
+Client::dump_stats (const ACE_TCHAR* msg, ACE_UINT32 gsf)
{
this->throughput_.dump_results (msg, gsf);
}