summaryrefslogtreecommitdiff
path: root/TAO/performance-tests/Cubit/TAO
diff options
context:
space:
mode:
Diffstat (limited to 'TAO/performance-tests/Cubit/TAO')
-rw-r--r--TAO/performance-tests/Cubit/TAO/IDL_Cubit/client.cpp2
-rw-r--r--TAO/performance-tests/Cubit/TAO/IDL_Cubit/server.cpp5
-rw-r--r--TAO/performance-tests/Cubit/TAO/MT_Cubit/Globals.cpp6
-rw-r--r--TAO/performance-tests/Cubit/TAO/MT_Cubit/Globals.h4
-rw-r--r--TAO/performance-tests/Cubit/TAO/MT_Cubit/README.tests2
5 files changed, 8 insertions, 11 deletions
diff --git a/TAO/performance-tests/Cubit/TAO/IDL_Cubit/client.cpp b/TAO/performance-tests/Cubit/TAO/IDL_Cubit/client.cpp
index 6d1f4e8b305..46e4e4e960b 100644
--- a/TAO/performance-tests/Cubit/TAO/IDL_Cubit/client.cpp
+++ b/TAO/performance-tests/Cubit/TAO/IDL_Cubit/client.cpp
@@ -17,7 +17,7 @@
int
ACE_TMAIN(int argc, ACE_TCHAR *argv[])
{
- // Enable FIFO scheduling, e.g., RT scheduling class on Solaris.
+ // Enable FIFO scheduling
if (ACE_OS::sched_params (ACE_Sched_Params (ACE_SCHED_FIFO,
ACE_THR_PRI_FIFO_DEF,
ACE_SCOPE_PROCESS)) != 0)
diff --git a/TAO/performance-tests/Cubit/TAO/IDL_Cubit/server.cpp b/TAO/performance-tests/Cubit/TAO/IDL_Cubit/server.cpp
index 5ba42c3f4db..ee6fff88605 100644
--- a/TAO/performance-tests/Cubit/TAO/IDL_Cubit/server.cpp
+++ b/TAO/performance-tests/Cubit/TAO/IDL_Cubit/server.cpp
@@ -23,10 +23,9 @@ int
ACE_TMAIN(int argc, ACE_TCHAR *argv[])
{
int priority = ACE_THR_PRI_FIFO_DEF;
- priority = ACE_Sched_Params::next_priority (ACE_SCHED_FIFO,
- priority);
+ priority = ACE_Sched_Params::next_priority (ACE_SCHED_FIFO, priority);
- // Enable FIFO scheduling, e.g., RT scheduling class on Solaris.
+ // Enable FIFO scheduling
if (ACE_OS::sched_params (ACE_Sched_Params (ACE_SCHED_FIFO,
priority,
ACE_SCOPE_PROCESS)) != 0)
diff --git a/TAO/performance-tests/Cubit/TAO/MT_Cubit/Globals.cpp b/TAO/performance-tests/Cubit/TAO/MT_Cubit/Globals.cpp
index 9c2afdb429c..6ddfa802019 100644
--- a/TAO/performance-tests/Cubit/TAO/MT_Cubit/Globals.cpp
+++ b/TAO/performance-tests/Cubit/TAO/MT_Cubit/Globals.cpp
@@ -76,12 +76,12 @@ int
Globals::sched_fifo_init ()
{
#if defined (ACE_HAS_THREADS)
- // Enable FIFO scheduling, e.g., RT scheduling class on Solaris.
-# if defined (_AIX) || defined (__APPLE__) || defined (BSD)
+ // Enable FIFO scheduling
+# if defined (__APPLE__) || defined (BSD)
int scope = ACE_SCOPE_THREAD;
# else
int scope = ACE_SCOPE_PROCESS;
-# endif /* _AIX */
+# endif /* __APPLE__ || BSD */
if (ACE_OS::sched_params (ACE_Sched_Params (ACE_SCHED_FIFO,
SCHED_PRIORITY,
diff --git a/TAO/performance-tests/Cubit/TAO/MT_Cubit/Globals.h b/TAO/performance-tests/Cubit/TAO/MT_Cubit/Globals.h
index 3f116926ccd..33806d6f47c 100644
--- a/TAO/performance-tests/Cubit/TAO/MT_Cubit/Globals.h
+++ b/TAO/performance-tests/Cubit/TAO/MT_Cubit/Globals.h
@@ -49,8 +49,6 @@ if (status != OK)\
#elif defined (ACE_WIN32) || defined (__FreeBSD__)
#define SCHED_PRIORITY \
ACE_Sched_Params::priority_max(ACE_SCHED_FIFO,ACE_SCOPE_THREAD)
-#elif defined (HPUX)
-#define SCHED_PRIORITY ACE_THR_PRI_FIFO_MAX
#else
#define SCHED_PRIORITY \
ACE_THR_PRI_FIFO_DEF + 25
@@ -110,7 +108,7 @@ public:
int parse_args (int argc, ACE_TCHAR **argv);
/**
- * Enables fifo scheduling eg., RT scheduling class on solaris.
+ * Enables fifo scheduling.
* Returns 0 on success, 1 if insufficient permission, or -1
* for other failure. As a side effect, sets thr_create_flags
* appropriately.
diff --git a/TAO/performance-tests/Cubit/TAO/MT_Cubit/README.tests b/TAO/performance-tests/Cubit/TAO/MT_Cubit/README.tests
index 13150470eb2..99528977530 100644
--- a/TAO/performance-tests/Cubit/TAO/MT_Cubit/README.tests
+++ b/TAO/performance-tests/Cubit/TAO/MT_Cubit/README.tests
@@ -23,7 +23,7 @@ The percentage of overhead is calculated in the following way:
Latency Test
------------------------
-- configuration:
- (1) su to root when running Solaris or LynxOS.
+ (1) su to root when on LynxOS.
(2) Make yourself an Administrator in Windows NT
on the server side: