diff options
author | Marc Laukien <marc@zeroc.com> | 2004-10-06 17:53:00 +0000 |
---|---|---|
committer | Marc Laukien <marc@zeroc.com> | 2004-10-06 17:53:00 +0000 |
commit | 7dc2a0cec8c09723ea9efc241c01db678dfdc73f (patch) | |
tree | 42d788203c8a701f52ed0babe099db564eb2d4ce /cpp/demo/Ice/latency/Client.cpp | |
parent | fixes (diff) | |
download | ice-7dc2a0cec8c09723ea9efc241c01db678dfdc73f.tar.bz2 ice-7dc2a0cec8c09723ea9efc241c01db678dfdc73f.tar.xz ice-7dc2a0cec8c09723ea9efc241c01db678dfdc73f.zip |
time changes
Diffstat (limited to 'cpp/demo/Ice/latency/Client.cpp')
-rw-r--r-- | cpp/demo/Ice/latency/Client.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/cpp/demo/Ice/latency/Client.cpp b/cpp/demo/Ice/latency/Client.cpp index 14dbf3de6c5..1c807e04784 100644 --- a/cpp/demo/Ice/latency/Client.cpp +++ b/cpp/demo/Ice/latency/Client.cpp @@ -47,8 +47,8 @@ run(int argc, char* argv[], const Ice::CommunicatorPtr& communicator) tm = IceUtil::Time::now() - tm; - cout << "time for " << repetitions << " pings: " << tm.toMicroSeconds() / 1000.0 << "ms" << endl; - cout << "time per ping: " << tm.toMicroSeconds() / 1000.0 / repetitions << "ms" << endl; + cout << "time for " << repetitions << " pings: " << tm * 1000 << "ms" << endl; + cout << "time per ping: " << tm * 1000 / repetitions << "ms" << endl; return EXIT_SUCCESS; } |