summaryrefslogtreecommitdiff
path: root/cpp/demo/Ice/throughput/Client.cpp
diff options
context:
space:
mode:
authorMarc Laukien <marc@zeroc.com>2004-10-06 17:53:00 +0000
committerMarc Laukien <marc@zeroc.com>2004-10-06 17:53:00 +0000
commit7dc2a0cec8c09723ea9efc241c01db678dfdc73f (patch)
tree42d788203c8a701f52ed0babe099db564eb2d4ce /cpp/demo/Ice/throughput/Client.cpp
parentfixes (diff)
downloadice-7dc2a0cec8c09723ea9efc241c01db678dfdc73f.tar.bz2
ice-7dc2a0cec8c09723ea9efc241c01db678dfdc73f.tar.xz
ice-7dc2a0cec8c09723ea9efc241c01db678dfdc73f.zip
time changes
Diffstat (limited to 'cpp/demo/Ice/throughput/Client.cpp')
-rw-r--r--cpp/demo/Ice/throughput/Client.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/cpp/demo/Ice/throughput/Client.cpp b/cpp/demo/Ice/throughput/Client.cpp
index 03e10c4ea1f..29715304863 100644
--- a/cpp/demo/Ice/throughput/Client.cpp
+++ b/cpp/demo/Ice/throughput/Client.cpp
@@ -128,8 +128,8 @@ run(int argc, char* argv[], const Ice::CommunicatorPtr& communicator)
}
tm = IceUtil::Time::now() - tm;
- cout << "time for " << repetitions << " sequences: " << tm.toMicroSeconds() / 1000.0 << "ms" << endl;
- cout << "time per sequence: " << tm.toMicroSeconds() / 1000.0 / repetitions << "ms" << endl;
+ cout << "time for " << repetitions << " sequences: " << tm * 1000 << "ms" << endl;
+ cout << "time per sequence: " << tm * 1000 / repetitions << "ms" << endl;
double mbit = repetitions * seqSize * 8.0 / tm.toMicroSeconds();
if(c == 'e')
{