Merge pull request #2309 from mitza-oci/warnings
[ACE_TAO.git] / TAO / orbsvcs / performance-tests / LoadBalancing / LBPerf / RPS / Roundtrip.cpp
blob7915d8f2a617cd58330404d26110d57723b803e0
1 #include "Roundtrip.h"
2 #include "ace/OS_NS_stdio.h"
3 #include "ace/ACE.h"
5 Roundtrip::Roundtrip (CORBA::ORB_ptr orb)
6 : orb_ (CORBA::ORB::_duplicate (orb)),
7 count_ (0)
11 Test::Timestamp
12 Roundtrip::test_method (Test::Timestamp send_time,
13 Test::number cl_number)
15 if (cl_number % 2 == 0)
17 for (int i = 1; i < 10000; i++)
19 (void) ACE::is_prime (290090, 2, 190090);
23 return send_time;
26 void
27 Roundtrip::shutdown ()
29 this->orb_->shutdown (false);