summaryrefslogtreecommitdiff
path: root/ACE/performance-tests/Misc/context_switch_time.cpp
diff options
context:
space:
mode:
authorErik Sohns <erik.sohns@posteo.de>2023-04-05 17:37:54 +0200
committerErik Sohns <erik.sohns@posteo.de>2023-04-05 17:37:54 +0200
commit761e24b54d7fda41ed58a6e2f41ba905e43bf3d9 (patch)
tree69171a8ba215e125cf273ab6bbe4641313df6e6a /ACE/performance-tests/Misc/context_switch_time.cpp
parent3e44fb91cf724aeb48b38169482a4878de316afc (diff)
parent9e18d338ec598e1a8da6d32a0fba5a20c76978f7 (diff)
downloadATCD-761e24b54d7fda41ed58a6e2f41ba905e43bf3d9.tar.gz
Merge branch 'message_queue_ex_get_queue' of https://github.com/esohns/ACE_TAO into message_queue_ex_get_queue
Diffstat (limited to 'ACE/performance-tests/Misc/context_switch_time.cpp')
-rw-r--r--ACE/performance-tests/Misc/context_switch_time.cpp18
1 files changed, 0 insertions, 18 deletions
diff --git a/ACE/performance-tests/Misc/context_switch_time.cpp b/ACE/performance-tests/Misc/context_switch_time.cpp
index 89dc0749080..a4315a1a155 100644
--- a/ACE/performance-tests/Misc/context_switch_time.cpp
+++ b/ACE/performance-tests/Misc/context_switch_time.cpp
@@ -24,12 +24,6 @@
* from the one described in 1) above, and the result is divided by
* two to yield the context switch time.
*
- * Notes:
- * On Solaris 2.5.1, it appears that the lowest context switching times,
- * at least on a single-CPU machine, are obtained _without_ creating new
- * LWPs for new threads (THR_NEW_LWP). The -n option enables the use of
- * THR_NEW_LWP for testing.
- *
* = CREATION DATE
* 17 January 1997
*
@@ -218,10 +212,6 @@ Suspend_Resume_Test::svc ()
low_.ready ();
- // For information: the cost of the just the loop itself below,
- // without the suspend and resume calls, on a 166 MHz Ultrasparc
- // is about 12.3 nanoseconds per iteration.
-
timer_.start ();
for (ACE_UINT32 i = 0; i < iterations_; ++i)
@@ -443,10 +433,6 @@ Ping_Suspend_Resume_Test::svc ()
priority, high_priority));
#endif /* ACE_DEBUG_CST */
- // For information: the cost of the just the loop itself below,
- // without the suspend and resume calls, on a 166 MHz Ultrasparc
- // is about 12.3 nanoseconds per iteration.
-
timer_.start ();
ACE_UINT32 i;
@@ -999,10 +985,6 @@ Synchronized_Suspend_Resume_Test::svc ()
priority, high_priority));
#endif /* ACE_DEBUG_CST */
- // For information: the cost of the just the loop itself below,
- // without the suspend and resume calls, on a 166 MHz Ultrasparc
- // is about 12.3 nanoseconds per iteration.
-
ACE_UINT32 i;
for (i = 0; i < iterations_; ++i)