summaryrefslogtreecommitdiff
path: root/ACE/TAO/orbsvcs/tests/Notify/performance-tests/RedGreen/main.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'ACE/TAO/orbsvcs/tests/Notify/performance-tests/RedGreen/main.cpp')
-rw-r--r--ACE/TAO/orbsvcs/tests/Notify/performance-tests/RedGreen/main.cpp28
1 files changed, 28 insertions, 0 deletions
diff --git a/ACE/TAO/orbsvcs/tests/Notify/performance-tests/RedGreen/main.cpp b/ACE/TAO/orbsvcs/tests/Notify/performance-tests/RedGreen/main.cpp
new file mode 100644
index 00000000000..f700eb53af7
--- /dev/null
+++ b/ACE/TAO/orbsvcs/tests/Notify/performance-tests/RedGreen/main.cpp
@@ -0,0 +1,28 @@
+// -*- C++ -*-
+// $Id$
+
+#include "RedGreen_Test.h"
+
+int
+ACE_TMAIN(int argc, ACE_TCHAR *argv[])
+{
+ ACE_High_Res_Timer::calibrate ();
+
+ RedGreen_Test client;
+
+ client.parse_args (argc, argv);
+
+ try
+ {
+ client.init (argc, argv); //Init the Client
+
+ client.run ();
+ }
+ catch (const CORBA::Exception& se)
+ {
+ se._tao_print_exception ("Error: ");
+ return 1;
+ }
+
+ return 0;
+}