summaryrefslogtreecommitdiff
path: root/modules/CIAO/performance-tests/Benchmark/LatencyTest.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'modules/CIAO/performance-tests/Benchmark/LatencyTest.cpp')
-rw-r--r--modules/CIAO/performance-tests/Benchmark/LatencyTest.cpp24
1 files changed, 24 insertions, 0 deletions
diff --git a/modules/CIAO/performance-tests/Benchmark/LatencyTest.cpp b/modules/CIAO/performance-tests/Benchmark/LatencyTest.cpp
new file mode 100644
index 00000000000..443506298bb
--- /dev/null
+++ b/modules/CIAO/performance-tests/Benchmark/LatencyTest.cpp
@@ -0,0 +1,24 @@
+//
+// $Id$
+//
+#include "LatencyTest.h"
+
+LatencyTest::LatencyTest (CORBA::ORB_ptr orb)
+ : orb_ (CORBA::ORB::_duplicate (orb))
+{
+}
+
+
+CORBA::Long
+LatencyTest::makeCall (CORBA::Long send_time)
+ ACE_THROW_SPEC ((CORBA::SystemException))
+{
+ return send_time;
+}
+
+void
+LatencyTest::shutdown ()
+ ACE_THROW_SPEC ((CORBA::SystemException))
+{
+ this->orb_->shutdown (0);
+}