summaryrefslogtreecommitdiff
path: root/cppe/demo/IceE/throughput/Client.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'cppe/demo/IceE/throughput/Client.cpp')
-rw-r--r--cppe/demo/IceE/throughput/Client.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/cppe/demo/IceE/throughput/Client.cpp b/cppe/demo/IceE/throughput/Client.cpp
index 0b1ff88b91e..9ff8ad955e7 100644
--- a/cppe/demo/IceE/throughput/Client.cpp
+++ b/cppe/demo/IceE/throughput/Client.cpp
@@ -99,7 +99,7 @@ run(int argc, char* argv[], const Ice::CommunicatorPtr& communicator)
}
while(c != EOF && c == '\n');
- Ice::Time tm = Ice::Time::now();
+ IceUtil::Time tm = IceUtil::Time::now();
const int repetitions = 1000;
if(c == '1' || c == '2' || c == '3' || c == '4')
@@ -327,7 +327,7 @@ run(int argc, char* argv[], const Ice::CommunicatorPtr& communicator)
}
}
- tm = Ice::Time::now() - tm;
+ tm = IceUtil::Time::now() - tm;
printf("time for %d sequences: %fms\n", repetitions, tm.toMilliSecondsDouble());
printf("time per sequence: %fms\n", tm.toMilliSecondsDouble() / repetitions);
int wireSize = 0;