Home
last modified time | relevance | path

Searched refs:thread_index (Results 1 – 13 of 13) sorted by relevance

/netbsd-src/sys/external/bsd/compiler_rt/dist/lib/sanitizer_common/tests/
H A Dsanitizer_stoptheworld_test.cc98 volatile uptr thread_index; member
105 : thread_index(0), in AdvancedCallbackArgument()
115 &callback_argument->thread_index, 1); in AdvancedIncrementerThread()
126 __sync_fetch_and_add(&callback_argument->thread_index, in AdvancedIncrementerThread()
127 kThreadCount - callback_argument->thread_index); in AdvancedIncrementerThread()
175 while (__sync_fetch_and_add(&argument.thread_index, 0) < kStopWorldAfter) in TEST()
182 while (__sync_fetch_and_add(&argument.thread_index, 0) < kThreadCount) in TEST()
/netbsd-src/external/apache2/llvm/dist/llvm/utils/benchmark/test/
H A Dfixture_test.cc10 if (state.thread_index == 0) { in SetUp()
17 if (state.thread_index == 0) { in TearDown()
36 if (st.thread_index == 0) { in BENCHMARK_DEFINE_F()
H A Dbenchmark_test.cc129 if (state.thread_index == 0) { in BM_SetupTeardown()
142 if (state.thread_index == 0) { in BM_SetupTeardown()
160 int from = thread_size * state.thread_index; in BM_ParallelMemset()
163 if (state.thread_index == 0) { in BM_ParallelMemset()
175 if (state.thread_index == 0) { in BM_ParallelMemset()
H A Dskip_with_error_test.cc95 if (state.range(0) == 1 && state.thread_index <= (state.threads / 2)) { in BM_error_during_running()
142 if (state.thread_index <= (state.threads / 2)) in BM_error_after_running()
154 if (state.range(0) == 1 && state.thread_index <= (state.threads / 2)) { in BM_error_while_paused()
/netbsd-src/external/apache2/llvm/dist/libcxx/utils/google-benchmark/test/
H A Dfixture_test.cc10 if (state.thread_index == 0) { in SetUp()
17 if (state.thread_index == 0) { in TearDown()
36 if (st.thread_index == 0) { in BENCHMARK_DEFINE_F()
H A Dbenchmark_test.cc129 if (state.thread_index == 0) { in BM_SetupTeardown()
142 if (state.thread_index == 0) { in BM_SetupTeardown()
160 int from = thread_size * state.thread_index; in BM_ParallelMemset()
163 if (state.thread_index == 0) { in BM_ParallelMemset()
175 if (state.thread_index == 0) { in BM_ParallelMemset()
H A Dskip_with_error_test.cc94 if (state.range(0) == 1 && state.thread_index <= (state.threads / 2)) { in BM_error_during_running()
139 if (state.thread_index <= (state.threads / 2)) in BM_error_after_running()
151 if (state.range(0) == 1 && state.thread_index <= (state.threads / 2)) { in BM_error_while_paused()
/netbsd-src/external/apache2/llvm/dist/libcxx/utils/google-benchmark/src/
H A Dbenchmark.cc136 thread_index(thread_i), in State()
141 CHECK_LT(thread_index, threads) << "thread_index must be less than threads"; in State()
/netbsd-src/external/apache2/llvm/dist/llvm/utils/benchmark/src/
H A Dbenchmark.cc307 thread_index(thread_i), in State()
312 CHECK_LT(thread_index, threads) << "thread_index must be less than threads"; in State()
/netbsd-src/external/apache2/llvm/dist/llvm/utils/benchmark/include/benchmark/
H A Dbenchmark.h627 const int thread_index; variable
/netbsd-src/external/apache2/llvm/dist/libcxx/utils/google-benchmark/include/benchmark/
H A Dbenchmark.h665 const int thread_index; variable
/netbsd-src/external/apache2/llvm/dist/libcxx/utils/google-benchmark/
H A DREADME.md408 if (state.thread_index == 0) {
414 if (state.thread_index == 0) {
/netbsd-src/external/apache2/llvm/dist/llvm/utils/benchmark/
H A DREADME.md396 if (state.thread_index == 0) {
402 if (state.thread_index == 0) {