X-Git-Url: http://demsky.eecs.uci.edu/git/?a=blobdiff_plain;f=folly%2Fstress-test%2Fstress-parallel-folly-sync.cpp;fp=folly%2Fstress-test%2Fstress-parallel-folly-sync.cpp;h=d87e348d7f36b0add62334f8db4617a47ecf2e55;hb=70da48e4a4ae22bd19deb555800d6b132504c370;hp=4cb37b473506fe021fed0d30716359adf44ed0be;hpb=47e0af8cda6ad75ea1348e5b5220542a506c2ce3;p=folly.git diff --git a/folly/stress-test/stress-parallel-folly-sync.cpp b/folly/stress-test/stress-parallel-folly-sync.cpp index 4cb37b47..d87e348d 100644 --- a/folly/stress-test/stress-parallel-folly-sync.cpp +++ b/folly/stress-test/stress-parallel-folly-sync.cpp @@ -221,14 +221,22 @@ unsigned FollySyncTest_Parallel::s_nSharedMutexWritePercentage; unsigned FollySyncTest_Parallel::s_nRWSpinLockWritePercentage; unsigned FollySyncTest_Parallel::s_nRWTicketSpinLockWritePercentage; -TEST_F(FollySyncTest_Parallel, FollyRCU_NonstopReaderSync) { +TEST_F(FollySyncTest_Parallel, FollyRCU_NonstopWriterSync) { FollyRcuThreading(run_rcu_writer_sync_nonstop, run_rcu_reader_pass_count); } -TEST_F(FollySyncTest_Parallel, FollyRCU_NonstopReaderNoSync) { +TEST_F(FollySyncTest_Parallel, FollyRCU_NonstopWriterNoSync) { FollyRcuThreading(run_rcu_writer_retire_nonstop, run_rcu_reader_pass_count); } +//TEST_F(FollySyncTest_Parallel, FollyRCU_NonstopReaderSync) { +// FollyRcuThreading(run_rcu_writer_sync_pass_count, run_rcu_reader_nonstop); +//} + +TEST_F(FollySyncTest_Parallel, FollyRCU_NonstopReaderNoSync) { + FollyRcuThreading(run_rcu_writer_retire_pass_count, run_rcu_reader_nonstop); +} + TEST_F(FollySyncTest_Parallel, FollyRWTicketSpinLock_32) { FollyRWLockThreading(s_nRWTicketSpinLockPassCount, s_nRWTicketSpinLockWritePercentage);