summaryrefslogtreecommitdiff
path: root/cppe/demo/IceE/throughput/Client.cpp
diff options
context:
space:
mode:
authorDwayne Boone <dwayne@zeroc.com>2007-03-30 13:36:11 +0000
committerDwayne Boone <dwayne@zeroc.com>2007-03-30 13:36:11 +0000
commit5b831f615e52bb07311afc8f682e928149068e85 (patch)
treee398b2ab74e7e8517ddad85bf8878109c89aa4f7 /cppe/demo/IceE/throughput/Client.cpp
parentFixed VC6 compile errors (diff)
downloadice-5b831f615e52bb07311afc8f682e928149068e85.tar.bz2
ice-5b831f615e52bb07311afc8f682e928149068e85.tar.xz
ice-5b831f615e52bb07311afc8f682e928149068e85.zip
Bug 1094
Diffstat (limited to 'cppe/demo/IceE/throughput/Client.cpp')
-rw-r--r--cppe/demo/IceE/throughput/Client.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/cppe/demo/IceE/throughput/Client.cpp b/cppe/demo/IceE/throughput/Client.cpp
index 169c14924a8..1b58dabaeb9 100644
--- a/cppe/demo/IceE/throughput/Client.cpp
+++ b/cppe/demo/IceE/throughput/Client.cpp
@@ -343,8 +343,8 @@ run(int argc, char* argv[], const Ice::CommunicatorPtr& communicator)
}
tm = IceUtil::Time::now() - tm;
- printf("time for %d sequences: %fms\n", repetitions, tm.toMilliSecondsDouble());
- printf("time per sequence: %fms\n", tm.toMilliSecondsDouble() / repetitions);
+ printf("time for %d sequences: %lfms\n", repetitions, tm.toMilliSecondsDouble());
+ printf("time per sequence: %lfms\n", tm.toMilliSecondsDouble() / repetitions);
int wireSize = 0;
switch(currentType)
{
@@ -375,7 +375,7 @@ run(int argc, char* argv[], const Ice::CommunicatorPtr& communicator)
{
mbit *= 2;
}
- printf("throughput: %.2fMbps\n", mbit);
+ printf("throughput: %.2lfMbps\n", mbit);
}
else if(c == 's')
{