diff options
Diffstat (limited to 'cpp/demo/Ice/throughput/Client.cpp')
-rw-r--r-- | cpp/demo/Ice/throughput/Client.cpp | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/cpp/demo/Ice/throughput/Client.cpp b/cpp/demo/Ice/throughput/Client.cpp index 004b290464f..674314eb1d3 100644 --- a/cpp/demo/Ice/throughput/Client.cpp +++ b/cpp/demo/Ice/throughput/Client.cpp @@ -43,11 +43,10 @@ run(int argc, char* argv[], const Ice::CommunicatorPtr& communicator) IceUtil::Time tsec = IceUtil::Time::now(); const int repetitions = 100; - const int size = 500000; - cout << "sending and receiving " << repetitions << " sequences of size " << size + cout << "sending and receiving " << repetitions << " sequences of size " << seqSize << " (this may take a while)" << endl; - ByteSeq seq(size, 0); + ByteSeq seq(seqSize, 0); for(int i = 0; i < repetitions; ++i) { throughput->echoByteSeq(seq); |