/external/cronet/stable/third_party/llvm-libc/src/test/integration/src/threads/ |
D | CMakeLists.txt | 1 add_libc_integration_test_suite(libc-threads-integration-tests) 6 libc-threads-integration-tests 10 libc.include.threads 12 libc.src.threads.mtx_destroy 13 libc.src.threads.mtx_init 14 libc.src.threads.mtx_lock 15 libc.src.threads.mtx_unlock 16 libc.src.threads.thrd_create 17 libc.src.threads.thrd_join 23 libc-threads-integration-tests [all …]
|
/external/cronet/tot/third_party/llvm-libc/src/test/integration/src/threads/ |
D | CMakeLists.txt | 1 add_libc_integration_test_suite(libc-threads-integration-tests) 6 libc-threads-integration-tests 10 libc.include.threads 12 libc.src.threads.mtx_destroy 13 libc.src.threads.mtx_init 14 libc.src.threads.mtx_lock 15 libc.src.threads.mtx_unlock 16 libc.src.threads.thrd_create 17 libc.src.threads.thrd_join 23 libc-threads-integration-tests [all …]
|
/external/cronet/stable/third_party/llvm-libc/src/src/threads/ |
D | CMakeLists.txt | 12 libc.include.threads 13 libc.src.__support.threads.callonce 23 libc.src.__support.threads.thread 24 libc.include.threads 39 libc.include.threads 40 libc.src.__support.threads.thread 50 libc.include.threads 51 libc.src.__support.threads.thread 61 libc.include.threads 62 libc.src.__support.threads.thread [all …]
|
/external/cronet/tot/third_party/llvm-libc/src/src/threads/ |
D | CMakeLists.txt | 12 libc.include.threads 13 libc.src.__support.threads.callonce 23 libc.src.__support.threads.thread 24 libc.include.threads 39 libc.include.threads 40 libc.src.__support.threads.thread 50 libc.include.threads 51 libc.src.__support.threads.thread 61 libc.include.threads 62 libc.src.__support.threads.thread [all …]
|
/external/openscreen/third_party/abseil/src/absl/synchronization/ |
D | mutex_benchmark.cc | 35 BENCHMARK(BM_Mutex)->UseRealTime()->Threads(1)->ThreadPerCpu(); 78 // bad mutex implementations that block and otherwise distract threads in BM_Contended() 80 // To achieve this amount of local work is multiplied by number of threads in BM_Contended() 82 // equal regardless of number of threads. in BM_Contended() 83 DelayNs(100 * state.threads, &local); in BM_Contended() 92 ->Threads(1) 93 ->Threads(2) 94 ->Threads(4) 95 ->Threads(6) 96 ->Threads(8) [all …]
|
/external/rust/android-crates-io/crates/crossbeam-channel/benches/ |
D | crossbeam.rs | 39 let threads = num_cpus::get(); in par_inout() localVariable 40 let steps = TOTAL_STEPS / threads; in par_inout() 46 for _ in 0..threads { in par_inout() 59 for _ in 0..threads { in par_inout() 62 for _ in 0..threads { in par_inout() 102 let threads = num_cpus::get() - 1; in spmc() localVariable 103 let steps = TOTAL_STEPS / threads; in spmc() 109 for _ in 0..threads { in spmc() 121 for _ in 0..threads { in spmc() 124 for i in 0..steps * threads { in spmc() [all …]
|
/external/apache-harmony/jdwp/src/test/java/org/apache/harmony/jpda/tests/jdwp/VirtualMachine/ |
D | ResumeTest.java | 51 // We need to finish the tested threads before detaching. in internalTearDown() 52 logWriter.println("Finish debuggee tested threads"); in internalTearDown() 60 * <BR>At first the test starts ResumeDebuggee which starts and runs some tested threads. 62 * ThreadReference.Status command that all debuggee tested threads are suspended. 64 * ThreadReference.Status command that all debuggee tested threads are resumed. 72 // All the threads we're interested in. in testResume001() 75 // Suspend all threads with VirtualMachine.Suspend command. in testResume001() 78 // Check all threads are suspended now. in testResume001() 79 logWriter.println("\n==> Check that all tested threads are suspended " + in testResume001() 83 // Resume all threads with VirtualMachine.Resume command. in testResume001() [all …]
|
/external/cronet/stable/third_party/llvm-libc/src/src/pthread/ |
D | CMakeLists.txt | 284 libc.src.__support.threads.mutex 295 libc.src.__support.threads.mutex 306 libc.src.__support.threads.mutex 317 libc.src.__support.threads.mutex 328 libc.src.__support.threads.thread 348 libc.src.__support.threads.thread 359 libc.src.__support.threads.thread 370 libc.src.__support.threads.thread 381 libc.src.__support.threads.thread 392 libc.src.__support.threads.thread [all …]
|
/external/cronet/tot/third_party/llvm-libc/src/src/pthread/ |
D | CMakeLists.txt | 284 libc.src.__support.threads.mutex 295 libc.src.__support.threads.mutex 306 libc.src.__support.threads.mutex 317 libc.src.__support.threads.mutex 328 libc.src.__support.threads.thread 348 libc.src.__support.threads.thread 359 libc.src.__support.threads.thread 370 libc.src.__support.threads.thread 381 libc.src.__support.threads.thread 392 libc.src.__support.threads.thread [all …]
|
/external/tensorflow/tensorflow/python/training/ |
D | coordinator.py | 15 """Coordinator to help multiple threads stop when requested.""" 29 """A coordinator for threads. 32 set of threads. 39 # Start a number of threads, passing the coordinator to each of them. 42 # Wait for all the threads to terminate. 43 coord.join(threads) 46 Any of the threads can call `coord.request_stop()` to ask for all the threads 80 # Start a number of threads, passing the coordinator to each of them. 83 # Wait for all the threads to terminate. 84 coord.join(threads) [all …]
|
D | coordinator_test.py | 96 threads = [ 101 for t in threads: 103 coord.join(threads) 104 for t in threads: 109 threads = [ 114 for t in threads: 118 for t in threads: 123 threads = [ 128 for t in threads: 131 # threads[1] is not registered we must pass it in. [all …]
|
/external/google-benchmark/test/ |
D | internal_threading_test.cc | 46 BENCHMARK(BM_MainThread)->Iterations(1)->Threads(1); 47 BENCHMARK(BM_MainThread)->Iterations(1)->Threads(1)->UseRealTime(); 48 BENCHMARK(BM_MainThread)->Iterations(1)->Threads(1)->UseManualTime(); 49 BENCHMARK(BM_MainThread)->Iterations(1)->Threads(1)->MeasureProcessCPUTime(); 52 ->Threads(1) 57 ->Threads(1) 61 BENCHMARK(BM_MainThread)->Iterations(1)->Threads(2); 62 BENCHMARK(BM_MainThread)->Iterations(1)->Threads(2)->UseRealTime(); 63 BENCHMARK(BM_MainThread)->Iterations(1)->Threads(2)->UseManualTime(); 64 BENCHMARK(BM_MainThread)->Iterations(1)->Threads(2)->MeasureProcessCPUTime(); [all …]
|
D | user_counters_tabular_test.cc | 17 …{"^BM_Counters_Tabular/repeats:2/threads:1 %console_report [ ]*%hrfloat [ ]*%hrfloat [ ]*%hrfloat … 18 …{"^BM_Counters_Tabular/repeats:2/threads:1 %console_report [ ]*%hrfloat [ ]*%hrfloat [ ]*%hrfloat … 19 …{"^BM_Counters_Tabular/repeats:2/threads:1_mean %console_report [ ]*%hrfloat [ ]*%hrfloat [ ]*%hrf… 20 …{"^BM_Counters_Tabular/repeats:2/threads:1_median %console_report [ ]*%hrfloat [ ]*%hrfloat [ ]*%h… 21 …{"^BM_Counters_Tabular/repeats:2/threads:1_stddev %console_report [ ]*%hrfloat [ ]*%hrfloat [ ]*%h… 22 …{"^BM_Counters_Tabular/repeats:2/threads:1_cv %console_percentage_report [ ]*%percentage[ ]*% [ ]*… 23 …{"^BM_Counters_Tabular/repeats:2/threads:2 %console_report [ ]*%hrfloat [ ]*%hrfloat [ ]*%hrfloat … 24 …{"^BM_Counters_Tabular/repeats:2/threads:2 %console_report [ ]*%hrfloat [ ]*%hrfloat [ ]*%hrfloat … 25 …{"^BM_Counters_Tabular/repeats:2/threads:2_mean %console_report [ ]*%hrfloat [ ]*%hrfloat [ ]*%hrf… 26 …{"^BM_Counters_Tabular/repeats:2/threads:2_median %console_report [ ]*%hrfloat [ ]*%hrfloat [ ]*%h… [all …]
|
/external/cronet/stable/third_party/google_benchmark/src/test/ |
D | internal_threading_test.cc | 46 BENCHMARK(BM_MainThread)->Iterations(1)->Threads(1); 47 BENCHMARK(BM_MainThread)->Iterations(1)->Threads(1)->UseRealTime(); 48 BENCHMARK(BM_MainThread)->Iterations(1)->Threads(1)->UseManualTime(); 49 BENCHMARK(BM_MainThread)->Iterations(1)->Threads(1)->MeasureProcessCPUTime(); 52 ->Threads(1) 57 ->Threads(1) 61 BENCHMARK(BM_MainThread)->Iterations(1)->Threads(2); 62 BENCHMARK(BM_MainThread)->Iterations(1)->Threads(2)->UseRealTime(); 63 BENCHMARK(BM_MainThread)->Iterations(1)->Threads(2)->UseManualTime(); 64 BENCHMARK(BM_MainThread)->Iterations(1)->Threads(2)->MeasureProcessCPUTime(); [all …]
|
D | user_counters_tabular_test.cc | 17 …{"^BM_Counters_Tabular/repeats:2/threads:1 %console_report [ ]*%hrfloat [ ]*%hrfloat [ ]*%hrfloat … 18 …{"^BM_Counters_Tabular/repeats:2/threads:1 %console_report [ ]*%hrfloat [ ]*%hrfloat [ ]*%hrfloat … 19 …{"^BM_Counters_Tabular/repeats:2/threads:1_mean %console_report [ ]*%hrfloat [ ]*%hrfloat [ ]*%hrf… 20 …{"^BM_Counters_Tabular/repeats:2/threads:1_median %console_report [ ]*%hrfloat [ ]*%hrfloat [ ]*%h… 21 …{"^BM_Counters_Tabular/repeats:2/threads:1_stddev %console_report [ ]*%hrfloat [ ]*%hrfloat [ ]*%h… 22 …{"^BM_Counters_Tabular/repeats:2/threads:1_cv %console_percentage_report [ ]*%percentage[ ]*% [ ]*… 23 …{"^BM_Counters_Tabular/repeats:2/threads:2 %console_report [ ]*%hrfloat [ ]*%hrfloat [ ]*%hrfloat … 24 …{"^BM_Counters_Tabular/repeats:2/threads:2 %console_report [ ]*%hrfloat [ ]*%hrfloat [ ]*%hrfloat … 25 …{"^BM_Counters_Tabular/repeats:2/threads:2_mean %console_report [ ]*%hrfloat [ ]*%hrfloat [ ]*%hrf… 26 …{"^BM_Counters_Tabular/repeats:2/threads:2_median %console_report [ ]*%hrfloat [ ]*%hrfloat [ ]*%h… [all …]
|
/external/cronet/tot/third_party/google_benchmark/src/test/ |
D | internal_threading_test.cc | 46 BENCHMARK(BM_MainThread)->Iterations(1)->Threads(1); 47 BENCHMARK(BM_MainThread)->Iterations(1)->Threads(1)->UseRealTime(); 48 BENCHMARK(BM_MainThread)->Iterations(1)->Threads(1)->UseManualTime(); 49 BENCHMARK(BM_MainThread)->Iterations(1)->Threads(1)->MeasureProcessCPUTime(); 52 ->Threads(1) 57 ->Threads(1) 61 BENCHMARK(BM_MainThread)->Iterations(1)->Threads(2); 62 BENCHMARK(BM_MainThread)->Iterations(1)->Threads(2)->UseRealTime(); 63 BENCHMARK(BM_MainThread)->Iterations(1)->Threads(2)->UseManualTime(); 64 BENCHMARK(BM_MainThread)->Iterations(1)->Threads(2)->MeasureProcessCPUTime(); [all …]
|
D | user_counters_tabular_test.cc | 17 …{"^BM_Counters_Tabular/repeats:2/threads:1 %console_report [ ]*%hrfloat [ ]*%hrfloat [ ]*%hrfloat … 18 …{"^BM_Counters_Tabular/repeats:2/threads:1 %console_report [ ]*%hrfloat [ ]*%hrfloat [ ]*%hrfloat … 19 …{"^BM_Counters_Tabular/repeats:2/threads:1_mean %console_report [ ]*%hrfloat [ ]*%hrfloat [ ]*%hrf… 20 …{"^BM_Counters_Tabular/repeats:2/threads:1_median %console_report [ ]*%hrfloat [ ]*%hrfloat [ ]*%h… 21 …{"^BM_Counters_Tabular/repeats:2/threads:1_stddev %console_report [ ]*%hrfloat [ ]*%hrfloat [ ]*%h… 22 …{"^BM_Counters_Tabular/repeats:2/threads:1_cv %console_percentage_report [ ]*%percentage[ ]*% [ ]*… 23 …{"^BM_Counters_Tabular/repeats:2/threads:2 %console_report [ ]*%hrfloat [ ]*%hrfloat [ ]*%hrfloat … 24 …{"^BM_Counters_Tabular/repeats:2/threads:2 %console_report [ ]*%hrfloat [ ]*%hrfloat [ ]*%hrfloat … 25 …{"^BM_Counters_Tabular/repeats:2/threads:2_mean %console_report [ ]*%hrfloat [ ]*%hrfloat [ ]*%hrf… 26 …{"^BM_Counters_Tabular/repeats:2/threads:2_median %console_report [ ]*%hrfloat [ ]*%hrfloat [ ]*%h… [all …]
|
/external/mesa3d/src/intel/vulkan/grl/gpu/ |
D | radix_sort.grl | 32 dword threads) 34 dispatch opencl_build_morton_kernel_sort_bin_items (threads, 1, 1) args( 47 threads, 52 dispatch opencl_build_morton_kernel_sort_scatter_items (threads, 1, 1) args( 72 dword threads, 76 dispatch opencl_build_morton_kernel_sort_bin_items (threads, 1, 1) args( 82 threads, 90 dword threads, 95 threads, 106 dword threads, [all …]
|
/external/cronet/stable/third_party/llvm-libc/src/src/threads/linux/ |
D | CMakeLists.txt | 7 libc.include.threads 11 libc.src.__support.threads.mutex 12 libc.src.__support.threads.linux.raw_mutex 13 libc.src.__support.threads.linux.futex_utils 23 libc.include.threads 24 libc.src.__support.threads.CndVar 34 libc.include.threads 35 libc.src.__support.threads.CndVar 45 libc.include.threads 46 libc.src.__support.threads.mutex [all …]
|
/external/cronet/tot/third_party/llvm-libc/src/src/threads/linux/ |
D | CMakeLists.txt | 7 libc.include.threads 11 libc.src.__support.threads.mutex 12 libc.src.__support.threads.linux.raw_mutex 13 libc.src.__support.threads.linux.futex_utils 23 libc.include.threads 24 libc.src.__support.threads.CndVar 34 libc.include.threads 35 libc.src.__support.threads.CndVar 45 libc.include.threads 46 libc.src.__support.threads.mutex [all …]
|
/external/OpenCL-CTS/test_conformance/basic/ |
D | test_global_work_offsets.cpp | 46 int check_results( size_t threads[], size_t offsets[], cl_int outputA[], cl_int outputB[], cl_int o… in check_results() argument 48 …size_t offsettedSizes[ 3 ] = { threads[ 0 ] + offsets[ 0 ], threads[ 1 ] + offsets[ 1 ], threads[ … in check_results() 49 size_t limit = threads[ 0 ] * threads[ 1 ] * threads[ 2 ]; in check_results() 104 size_t diffs[3] = { ( offsets[ 0 ] > threads[ 0 ] ? 0 : threads[ 0 ] - offsets[ 0 ] ), in check_results() 105 ( offsets[ 1 ] > threads[ 1 ] ? 0 : threads[ 1 ] - offsets[ 1 ] ), in check_results() 106 ( offsets[ 2 ] > threads[ 2 ] ? 0 : threads[ 2 ] - offsets[ 2 ] ) }; in check_results() 107 …int diff = (int)( ( threads[ 0 ] - diffs[ 0 ] ) * ( threads[ 1 ] - diffs[ 1 ] ) * ( threads[ 2 ] -… in check_results() 125 size_t threads[] = {1,1,1}, localThreads[] = {1,1,1}, offsets[] = {0,0,0}; in test_global_work_offsets() local 152 threads[ 0 ] = random_in_range( 1, 32, seed ); in test_global_work_offsets() 153 threads[ 1 ] = random_in_range( 1, 16, seed ); in test_global_work_offsets() [all …]
|
/external/sdv/vsomeip/third_party/boost/thread/include/boost/thread/executors/ |
D | basic_thread_pool.hpp | 8 // first implementation of a simple pool thread using a vector of threads and a sync_queue. 40 thread_vector threads; member in boost::executors::basic_thread_pool 82 * The main loop of the worker threads 137 * \b Effects: creates a thread pool that runs closures on \c thread_count threads. 145 threads.reserve(thread_count); in basic_thread_pool() 150 threads.push_back(thread_t(boost::move(th))); in basic_thread_pool() 152 threads.push_back(thread_t(&basic_thread_pool::worker_thread, this)); // do not compile in basic_thread_pool() 163 * \b Effects: creates a thread pool that runs closures on \c thread_count threads 174 threads.reserve(thread_count); in basic_thread_pool() 178 threads.push_back(thread_t(boost::move(th))); in basic_thread_pool() [all …]
|
/external/sdv/vsomeip/third_party/boost/thread/example/ |
D | thread_group.cpp | 33 boost::thread_group threads; in main() local 35 threads.create_thread(&increment_count); in main() 36 threads.join_all(); in main() 40 boost::thread_group threads; in main() local 42 threads.create_thread(&increment_count); in main() 43 threads.interrupt_all(); in main() 44 threads.join_all(); in main() 48 boost::thread_group threads; in main() local 50 threads.add_thread(th); in main() 51 BOOST_TEST(! threads.is_this_thread_in()); in main() [all …]
|
/external/sdv/vsomeip/third_party/boost/thread/test/threads/container/ |
D | thread_vector_pass.cpp | 55 thread_vector threads; in main() local 56 threads.reserve(10); in main() 60 threads.push_back(boost::move(th)); in main() 62 join_all(threads); in main() 66 thread_vector threads; in main() local 67 threads.reserve(10); in main() 70 threads.push_back(BOOST_THREAD_MAKE_RV_REF(boost::thread(&increment_count))); in main() 72 join_all(threads); in main() 76 thread_vector threads; in main() local 77 threads.reserve(10); in main() [all …]
|
/external/mockito/src/test/java/org/mockitousage/bugs/ |
D | ShouldNotDeadlockAnswerExecutionTest.java | 25 ExecutorService threads = Executors.newCachedThreadPool(); in failIfMockIsSharedBetweenThreads() local 32 // execute verySlowMethod twice in separate threads in failIfMockIsSharedBetweenThreads() 34 threads.execute(new ServiceRunner(service)); in failIfMockIsSharedBetweenThreads() 35 threads.execute(new ServiceRunner(service)); in failIfMockIsSharedBetweenThreads() 37 // waiting for threads to finish in failIfMockIsSharedBetweenThreads() 39 threads.shutdown(); in failIfMockIsSharedBetweenThreads() 41 if (!threads.awaitTermination(1000, TimeUnit.MILLISECONDS)) { in failIfMockIsSharedBetweenThreads() 42 // threads were timed-out in failIfMockIsSharedBetweenThreads() 51 ExecutorService threads = Executors.newCachedThreadPool(); in successIfEveryThreadHasItsOwnMock() local 59 // execute verySlowMethod twice in separate threads in successIfEveryThreadHasItsOwnMock() [all …]
|