Home
last modified time | relevance | path

Searched refs:WriteStr (Results 1 - 2 of 2) sorted by relevance

/commonlibrary/c_utils/base/test/benchmarktest/rwlock_benchmark_test/
H A Drwlock_benchmark_test.cpp60 void WriteStr(const string& str) in WriteStr() function in OHOS::__anon18::TestRWLock
62 BENCHMARK_LOGD("RWLockTest void WriteStr is called."); in WriteStr()
103 thread first(bind(&TestRWLock::WriteStr, ref(test), ref(WRITE_IN_1))); in BENCHMARK_F()
109 thread third(bind(&TestRWLock::WriteStr, ref(test), ref(WRITE_IN_2))); in BENCHMARK_F()
139 thread first(bind(&TestRWLock::WriteStr, ref(test), ref(WRITE_IN_1))); in BENCHMARK_F()
144 thread third(bind(&TestRWLock::WriteStr, ref(test), ref(WRITE_IN_2))); in BENCHMARK_F()
171 thread first(bind(&TestRWLock::WriteStr, ref(test), ref(WRITE_IN_1))); in BENCHMARK_F()
189 * the UniqueWriteGuard class. The WriteStr method of the TestRWLock class is then called to write a string to
204 test.WriteStr(WRITE_IN_1); in BENCHMARK_F()
227 test.WriteStr(WRITE_IN_ in BENCHMARK_F()
[all...]
/commonlibrary/c_utils/base/test/unittest/common/
H A Dutils_rwlock_test.cpp36 void WriteStr(const string& str) in WriteStr() function in OHOS::__anon39::TestRWLock
75 thread first(bind(&TestRWLock::WriteStr, ref(test), ref(WRITE_IN_1))); in HWTEST_F()
80 thread third(bind(&TestRWLock::WriteStr, ref(test), ref(WRITE_IN_2))); in HWTEST_F()
104 thread first(bind(&TestRWLock::WriteStr, ref(test), ref(WRITE_IN_1))); in HWTEST_F()
109 thread third(bind(&TestRWLock::WriteStr, ref(test), ref(WRITE_IN_2))); in HWTEST_F()

Completed in 1 milliseconds