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