summaryrefslogtreecommitdiff
path: root/ACE/performance-tests/Misc/context_switch_time.cpp
diff options
context:
space:
mode:
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)