diff options
Diffstat (limited to 'TAO/performance-tests/Cubit/TAO')
5 files changed, 6 insertions, 7 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 100120db159..6ddfa802019 100644 --- a/TAO/performance-tests/Cubit/TAO/MT_Cubit/Globals.cpp +++ b/TAO/performance-tests/Cubit/TAO/MT_Cubit/Globals.cpp @@ -76,7 +76,7 @@ int Globals::sched_fifo_init () { #if defined (ACE_HAS_THREADS) - // Enable FIFO scheduling, e.g., RT scheduling class on Solaris. + // Enable FIFO scheduling # if defined (__APPLE__) || defined (BSD) int scope = ACE_SCOPE_THREAD; # else diff --git a/TAO/performance-tests/Cubit/TAO/MT_Cubit/Globals.h b/TAO/performance-tests/Cubit/TAO/MT_Cubit/Globals.h index 22d87a757b6..33806d6f47c 100644 --- a/TAO/performance-tests/Cubit/TAO/MT_Cubit/Globals.h +++ b/TAO/performance-tests/Cubit/TAO/MT_Cubit/Globals.h @@ -108,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: |