diff options
Diffstat (limited to 'modules/CIAO/performance-tests/Benchmark/RoundTripServer/LatencyTest.cpp')
-rw-r--r-- | modules/CIAO/performance-tests/Benchmark/RoundTripServer/LatencyTest.cpp | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/modules/CIAO/performance-tests/Benchmark/RoundTripServer/LatencyTest.cpp b/modules/CIAO/performance-tests/Benchmark/RoundTripServer/LatencyTest.cpp new file mode 100644 index 00000000000..148ee21df79 --- /dev/null +++ b/modules/CIAO/performance-tests/Benchmark/RoundTripServer/LatencyTest.cpp @@ -0,0 +1,25 @@ +// +// $Id$ +// +#include "LatencyTest.h" +#include "ciao/Logger/Log_Macros.h" + +LatencyTest_Impl::LatencyTest_Impl (CORBA::ORB_ptr orb) + : orb_ (CORBA::ORB::_duplicate (orb)) +{ +} + + +CORBA::Long +LatencyTest_Impl::makeCall (CORBA::Long send_time) +{ + CIAO_DEBUG ((LM_DEBUG, CLINFO"Sending Time back\n")); + + return send_time; +} + +void +LatencyTest_Impl::shutdown () +{ + this->orb_->shutdown (0); +} |