summaryrefslogtreecommitdiff
path: root/TAO/performance-tests/Latency
diff options
context:
space:
mode:
authoroci <oci@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>2001-04-06 20:12:06 +0000
committeroci <oci@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>2001-04-06 20:12:06 +0000
commit83d1bf25d1538844a29f43c3ad43c290f7ca84e7 (patch)
tree92eb19e3ee7e7f133fc3104a0e46b39135e82142 /TAO/performance-tests/Latency
parent0132a60b6d0a124c2a32ca9170ffaa5a3d2cae5b (diff)
downloadATCD-83d1bf25d1538844a29f43c3ad43c290f7ca84e7.tar.gz
ChangeLogTag: Fri Apr 6 15:08:47 2001 Chad Elliott <elliott_c@ociweb.com>
Diffstat (limited to 'TAO/performance-tests/Latency')
-rw-r--r--TAO/performance-tests/Latency/ami-throughput-client.cpp15
1 files changed, 9 insertions, 6 deletions
diff --git a/TAO/performance-tests/Latency/ami-throughput-client.cpp b/TAO/performance-tests/Latency/ami-throughput-client.cpp
index a12fd6c8a02..464d32f1d2f 100644
--- a/TAO/performance-tests/Latency/ami-throughput-client.cpp
+++ b/TAO/performance-tests/Latency/ami-throughput-client.cpp
@@ -80,15 +80,18 @@ public:
now - stamp);
if (TAO_debug_level > 0)
+ {
#if defined (ACE_LACKS_LONGLONG_T)
- ACE_DEBUG ((LM_DEBUG, "AMI %d %s\n",
- this->nreplies_received_,
- (now - stamp).as_string ().c_str ()));
+ char buffer[32];
+ ACE_DEBUG ((LM_DEBUG, "AMI %d %s\n",
+ this->nreplies_received_,
+ (now - stamp).as_string (buffer)));
#else
- ACE_DEBUG ((LM_DEBUG, "AMI %d %Q\n",
- this->nreplies_received_,
- now - stamp));
+ ACE_DEBUG ((LM_DEBUG, "AMI %d %Q\n",
+ this->nreplies_received_,
+ now - stamp));
#endif
+ }
if (TAO_debug_level > 0 && this->nreplies_received_ % 100 == 0)
ACE_DEBUG ((LM_DEBUG, "(%P|%t) received = %d\n",