summaryrefslogtreecommitdiff
path: root/performance-tests
diff options
context:
space:
mode:
authorlevine <levine@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>1998-12-09 18:46:13 +0000
committerlevine <levine@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>1998-12-09 18:46:13 +0000
commita67609483c47bcc3f7ade727663d07c066e26b3a (patch)
tree31441b2a4d79bd530574044194d919ccbf8d5987 /performance-tests
parentaf00b08171181bd35f99da4911c495bc4e306db2 (diff)
downloadATCD-a67609483c47bcc3f7ade727663d07c066e26b3a.tar.gz
disabled Yield_Test on VxWorks, because it doesn't run properly
Diffstat (limited to 'performance-tests')
-rw-r--r--performance-tests/Misc/context_switch_time.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/performance-tests/Misc/context_switch_time.cpp b/performance-tests/Misc/context_switch_time.cpp
index 1bde89c2fc2..0178b04c427 100644
--- a/performance-tests/Misc/context_switch_time.cpp
+++ b/performance-tests/Misc/context_switch_time.cpp
@@ -1252,6 +1252,7 @@ main (int argc, char *argv [])
}
}
+#if !defined (VXWORKS)
// Then Yield test.
Yield_Test yield_test (num_iterations);
// Wait for all tasks to exit.
@@ -1267,6 +1268,7 @@ main (int argc, char *argv [])
(ACE_UINT32)
(yield_test.elapsed_time () % (num_iterations * 2u)) *
1000u / num_iterations / 2u));
+#endif /* ! VXWORKS */
Synchronized_Suspend_Resume_Test
synchronized_suspend_resume_test (num_iterations);
@@ -1294,8 +1296,10 @@ main (int argc, char *argv [])
context_switch_test_stats.print_summary (3, num_iterations * 2u);
}
+#if !defined (VXWORKS)
ACE_OS::printf ("\nyield_test: ");
yield_test_stats.print_summary (3, num_iterations * 2u);
+#endif /* ! VXWORKS */
ACE_OS::printf ("\nsynchronized suspend-resume test: ");
synchronized_suspend_resume_test_stats.print_summary (3,