diff options
author | William R. Otte <wotte@dre.vanderbilt.edu> | 2010-04-12 14:11:44 +0000 |
---|---|---|
committer | William R. Otte <wotte@dre.vanderbilt.edu> | 2010-04-12 14:11:44 +0000 |
commit | e30c0be78e222e708fc5010c5b678a72fc8ca4be (patch) | |
tree | fe2dde0d9d3e5aba67984c94c561b7f70f5a2cde /modules/CIAO/performance-tests/Benchmark/LatencyTest.cpp | |
parent | 7627760802fdf292403c971e81c2dd113ebf4912 (diff) | |
download | ATCD-e30c0be78e222e708fc5010c5b678a72fc8ca4be.tar.gz |
branching/tagging
Diffstat (limited to 'modules/CIAO/performance-tests/Benchmark/LatencyTest.cpp')
-rw-r--r-- | modules/CIAO/performance-tests/Benchmark/LatencyTest.cpp | 22 |
1 files changed, 22 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..2de09618b8f --- /dev/null +++ b/modules/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); +} |