summaryrefslogtreecommitdiff
path: root/TAO/Benchmark/Marshal_Test/Orbix/server.cpp
diff options
context:
space:
mode:
authorgokhale <asgokhale@users.noreply.github.com>1997-08-10 14:23:44 +0000
committergokhale <asgokhale@users.noreply.github.com>1997-08-10 14:23:44 +0000
commit1dfb01b1d933034bd7a9b53623328daba18a642c (patch)
treece4095ea5335e29eba9dc4a84187defd515a80b9 /TAO/Benchmark/Marshal_Test/Orbix/server.cpp
parent7d5aaf22b9ec4895b1f8797cd966853277d3422b (diff)
downloadATCD-1dfb01b1d933034bd7a9b53623328daba18a642c.tar.gz
A new suite of benchmark code is added. This one for Orbix.
Diffstat (limited to 'TAO/Benchmark/Marshal_Test/Orbix/server.cpp')
-rw-r--r--TAO/Benchmark/Marshal_Test/Orbix/server.cpp12
1 files changed, 12 insertions, 0 deletions
diff --git a/TAO/Benchmark/Marshal_Test/Orbix/server.cpp b/TAO/Benchmark/Marshal_Test/Orbix/server.cpp
new file mode 100644
index 00000000000..dd6902a012d
--- /dev/null
+++ b/TAO/Benchmark/Marshal_Test/Orbix/server.cpp
@@ -0,0 +1,12 @@
+#include "benchmark/driver.h"
+#include "orbix_marshal_server.h"
+
+int main (int argc, char *argv [])
+{
+ // instantiate a DRIVER with the Orbix_Client_Proxy as the template
+ CORBA_Benchmark_Driver<Orbix_Marshal_Server_Proxy> driver (new
+ Orbix_Marshal_Server_Proxy ());
+
+ // let the driver do everything for us so that we remain very simple
+ return driver.run (argc, argv);
+}