/external/llvm-project/openmp/runtime/test/ompt/parallel/ |
D | nested_thread_num.c | 2 // RUN: %libomp-compile-and-run | %sort-threads | FileCheck --check-prefix=THREADS %s 67 // Note that we cannot ensure that the worker threads have already called 78 // THREADS: {{^}}0: NULL_POINTER=[[NULL:.*$]] 79 // THREADS: __builtin_frame_address(0)=[[MAIN_REENTER:0x[0-f]+]] 80 // THREADS: {{^}}[[MASTER_ID:[0-9]+]]: ompt_event_parallel_begin: 81 // THREADS-SAME: parent_task_id=[[PARENT_TASK_ID:[0-9]+]], 82 // THREADS-SAME: parent_task_frame.exit=[[NULL]], 83 // THREADS-SAME: parent_task_frame.reenter=0x{{[0-f]+}}, 84 // THREADS-SAME: parallel_id=[[PARALLEL_ID:[0-9]+]], requested_team_size=2, 85 // THREADS-SAME: codeptr_ra=[[RETURN_ADDRESS:0x[0-f]+]]{{[0-f][0-f]}}, [all …]
|
D | normal.c | 2 // RUN: %libomp-compile-and-run | %sort-threads \ 3 // RUN: | FileCheck --check-prefix=THREADS %s 25 // Only check callback names, arguments are verified in THREADS below. in main() 31 // Note that we cannot ensure that the worker threads have already called in main() 45 // THREADS: 0: NULL_POINTER=[[NULL:.*$]] in main() 46 // THREADS: {{^}}[[MASTER_ID:[0-9]+]]: ompt_event_thread_begin in main() 47 // THREADS-SAME: thread_type=ompt_thread_initial=1, thread_id=[[MASTER_ID]] in main() 48 // THREADS: {{^}}[[MASTER_ID]]: ompt_event_parallel_begin in main() 49 // THREADS-SAME: parent_task_id=[[PARENT_TASK_ID:[0-9]+]] in main() 50 // THREADS-SAME: parent_task_frame.exit=[[NULL]] in main() [all …]
|
D | not_enough_threads.c | 2 // RUN: %libomp-compile && env OMP_THREAD_LIMIT=2 %libomp-run | %sort-threads \ 3 // RUN: | FileCheck --check-prefix=THREADS %s 25 // Only check callback names, arguments are verified in THREADS below. in main() 31 // Note that we cannot ensure that the worker threads have already called in main() 39 // THREADS: 0: NULL_POINTER=[[NULL:.*$]] in main() 40 // THREADS: {{^}}[[MASTER_ID:[0-9]+]]: ompt_event_thread_begin in main() 41 // THREADS-SAME: thread_type=ompt_thread_initial=1, thread_id=[[MASTER_ID]] in main() 42 // THREADS: {{^}}[[MASTER_ID]]: ompt_event_parallel_begin in main() 43 // THREADS-SAME: parent_task_id=[[PARENT_TASK_ID:[0-9]+]] in main() 44 // THREADS-SAME: parent_task_frame.exit=[[NULL]] in main() [all …]
|
D | nested_lwt.c | 2 // RUN: %libomp-compile-and-run | %sort-threads | FileCheck --check-prefix=THREADS %s 61 …// Note that we cannot ensure that the worker threads have already called barrier_end and implicit… in main() 75 // THREADS: 0: NULL_POINTER=[[NULL:.*$]] in main() 76 …// THREADS: {{^}}[[MASTER_ID:[0-9]+]]: ompt_event_parallel_begin: parent_task_id=[[PARENT_TASK_ID:… in main() 79 …// THREADS: {{^}}[[MASTER_ID]]: ompt_event_implicit_task_begin: parallel_id=[[PARALLEL_ID]], task_… in main() 80 …// THREADS: {{^}}[[MASTER_ID]]: task level 0: parallel_id=[[PARALLEL_ID]], task_id=[[IMPLICIT_TASK… in main() 81 …// THREADS: {{^}}[[MASTER_ID]]: task level 1: parallel_id=[[IMPLICIT_PARALLEL_ID:[0-9]+]], task_id… in main() 83 …// THREADS: {{^}}[[MASTER_ID]]: ompt_event_parallel_begin: parent_task_id=[[IMPLICIT_TASK_ID]], pa… in main() 84 …// THREADS: {{^}}[[MASTER_ID]]: ompt_event_implicit_task_begin: parallel_id=[[NESTED_PARALLEL_ID]]… in main() 85 …// THREADS: {{^}}[[MASTER_ID]]: task level 0: parallel_id=[[NESTED_PARALLEL_ID]], task_id=[[NESTED… in main() [all …]
|
D | nested.c | 2 // RUN: %libomp-compile-and-run | %sort-threads | FileCheck --check-prefix=THREADS %s 66 …// Note that we cannot ensure that the worker threads have already called barrier_end and implicit… in main() 81 // THREADS: {{^}}0: NULL_POINTER=[[NULL:.*$]] in main() 82 // THREADS: {{^}}[[MASTER_ID:[0-9]+]]: __builtin_frame_address(0)=[[MAIN_REENTER:0x[0-f]+]] in main() 83 …// THREADS: {{^}}[[MASTER_ID]]: ompt_event_parallel_begin: parent_task_id=[[PARENT_TASK_ID:[0-9]+]… in main() 86 …// THREADS: {{^}}[[MASTER_ID]]: ompt_event_implicit_task_begin: parallel_id=[[PARALLEL_ID]], task_… in main() 87 // THREADS: {{^}}[[MASTER_ID]]: __builtin_frame_address({{.}})=[[EXIT:0x[0-f]+]] in main() 88 …// THREADS: {{^}}[[MASTER_ID]]: task level 0: parallel_id=[[PARALLEL_ID]], task_id=[[IMPLICIT_TASK… in main() 89 …// THREADS: {{^}}[[MASTER_ID]]: task level 1: parallel_id=[[IMPLICIT_PARALLEL_ID:[0-9]+]], task_id… in main() 90 // THREADS: {{^}}[[MASTER_ID]]: __builtin_frame_address(0)=[[REENTER:0x[0-f]+]] in main() [all …]
|
D | nested_serialized.c | 2 // RUN: %libomp-compile-and-run | %sort-threads | FileCheck --check-prefix=THREADS %s 46 …// Note that we cannot ensure that the worker threads have already called barrier_end and implicit… in main() 60 // THREADS: 0: NULL_POINTER=[[NULL:.*$]] in main() 61 …// THREADS: {{^}}[[MASTER_ID:[0-9]+]]: ompt_event_parallel_begin: parent_task_id=[[PARENT_TASK_ID:… in main() 63 …// THREADS: {{^}}[[MASTER_ID]]: ompt_event_implicit_task_begin: parallel_id=[[PARALLEL_ID]], task_… in main() 64 …// THREADS: {{^}}[[MASTER_ID]]: task level 0: parallel_id=[[PARALLEL_ID]], task_id=[[IMPLICIT_TASK… in main() 65 …// THREADS: {{^}}[[MASTER_ID]]: task level 1: parallel_id=[[IMPLICIT_PARALLEL_ID:[0-9]+]], task_id… in main() 66 …// THREADS: {{^}}[[MASTER_ID]]: ompt_event_parallel_begin: parent_task_id=[[IMPLICIT_TASK_ID]], pa… in main() 67 …// THREADS: {{^}}[[MASTER_ID]]: ompt_event_implicit_task_begin: parallel_id=[[NESTED_PARALLEL_ID]]… in main() 68 …// THREADS: {{^}}[[MASTER_ID]]: task level 0: parallel_id=[[NESTED_PARALLEL_ID]], task_id=[[NESTED… in main() [all …]
|
D | no_thread_num_clause.c | 2 // RUN: %libomp-compile-and-run | %sort-threads | FileCheck --check-prefix=THREADS %s 38 …// Note that we cannot ensure that the worker threads have already called barrier_end and implicit… in main() 52 // THREADS: 0: NULL_POINTER=[[NULL:.*$]] in main() 53 …// THREADS: {{^}}[[MASTER_ID:[0-9]+]]: ompt_event_thread_begin: thread_type=ompt_thread_initial=1,… in main() 54 …// THREADS: {{^}}[[MASTER_ID:[0-9]+]]: ompt_event_initial_task_begin: parallel_id={{[0-9]+}}, task… in main() 56 …// THREADS: {{^}}[[MASTER_ID]]: ompt_event_parallel_begin: parent_task_id=[[PARENT_TASK_ID:[0-9]+]… in main() 58 …// THREADS: {{^}}[[MASTER_ID]]: ompt_event_implicit_task_begin: parallel_id=[[PARALLEL_ID]], task_… in main() 59 …// THREADS: {{^}}[[MASTER_ID]]: task level 0: parallel_id=[[PARALLEL_ID]], task_id=[[IMPLICIT_TASK… in main() 60 …// THREADS: {{^}}[[MASTER_ID]]: task level 1: parallel_id=[[IMPLICIT_PARALLEL_ID:[0-9]+]], task_id… in main() 61 // THREADS-NOT: {{^}}[[MASTER_ID]]: ompt_event_implicit_task_end in main() [all …]
|
D | max_active_levels_serialized.c | 2 // RUN: %libomp-compile-and-run | %sort-threads | FileCheck --check-prefix=THREADS %s 35 // THREADS: 0: NULL_POINTER=[[NULL:.*$]] in main() 42 …// THREADS: {{^}}[[MASTER_ID:[0-9]+]]: ompt_event_parallel_begin: parent_task_id=[[PARENT_TASK_ID:… in main() 44 …// THREADS: {{^}}[[MASTER_ID]]: ompt_event_implicit_task_begin: parallel_id=[[PARALLEL_ID]], task_… in main() 45 …// THREADS: {{^}}[[MASTER_ID]]: task level 0: parallel_id=[[PARALLEL_ID]], task_id=[[IMPLICIT_TASK… in main() 46 …// THREADS: {{^}}[[MASTER_ID]]: task level 1: parallel_id=[[IMPLICIT_PARALLEL_ID:[0-9]+]], task_id… in main() 47 …// THREADS: {{^}}[[MASTER_ID]]: ompt_event_parallel_begin: parent_task_id=[[IMPLICIT_TASK_ID]], pa… in main() 48 …// THREADS: {{^}}[[MASTER_ID]]: ompt_event_implicit_task_begin: parallel_id=[[NESTED_PARALLEL_ID]]… in main() 49 …// THREADS: {{^}}[[MASTER_ID]]: task level 0: parallel_id=[[NESTED_PARALLEL_ID]], task_id=[[NESTED… in main() 50 …// THREADS: {{^}}[[MASTER_ID]]: task level 1: parallel_id=[[PARALLEL_ID]], task_id=[[IMPLICIT_TASK… in main() [all …]
|
/external/webrtc/third_party/abseil-cpp/absl/synchronization/ |
D | mutex_benchmark.cc | 34 BENCHMARK(BM_Mutex)->UseRealTime()->Threads(1)->ThreadPerCpu(); 77 // bad mutex implementations that block and otherwise distract threads in BM_Contended() 79 // To achieve this amount of local work is multiplied by number of threads in BM_Contended() 81 // equal regardless of number of threads. in BM_Contended() 82 DelayNs(100 * state.threads, &local); in BM_Contended() 91 ->Threads(1) 92 ->Threads(2) 93 ->Threads(4) 94 ->Threads(6) 95 ->Threads(8) [all …]
|
/external/abseil-cpp/absl/synchronization/ |
D | mutex_benchmark.cc | 34 BENCHMARK(BM_Mutex)->UseRealTime()->Threads(1)->ThreadPerCpu(); 77 // bad mutex implementations that block and otherwise distract threads in BM_Contended() 79 // To achieve this amount of local work is multiplied by number of threads in BM_Contended() 81 // equal regardless of number of threads. in BM_Contended() 82 DelayNs(100 * state.threads, &local); in BM_Contended() 91 ->Threads(1) 92 ->Threads(2) 93 ->Threads(4) 94 ->Threads(6) 95 ->Threads(8) [all …]
|
/external/rust/crates/grpcio-sys/grpc/third_party/abseil-cpp/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/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/libtextclassifier/abseil-cpp/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/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/llvm-project/libc/test/src/threads/ |
D | CMakeLists.txt | 10 libc.include.threads 11 libc.src.threads.call_once 12 libc.src.threads.mtx_init 13 libc.src.threads.mtx_lock 14 libc.src.threads.mtx_unlock 15 libc.src.threads.thrd_create 16 libc.src.threads.thrd_join 26 libc.include.threads 28 libc.src.threads.thrd_create 29 libc.src.threads.thrd_join [all …]
|
/external/tensorflow/tensorflow/python/training/ |
D | coordinator.py | 15 """Coordinator to help multiple threads stop when requested.""" 35 """A coordinator for threads. 38 set of threads. 45 # Start a number of threads, passing the coordinator to each of them. 48 # Wait for all the threads to terminate. 49 coord.join(threads) 52 Any of the threads can call `coord.request_stop()` to ask for all the threads 86 # Start a number of threads, passing the coordinator to each of them. 89 # Wait for all the threads to terminate. 90 coord.join(threads) [all …]
|
D | coordinator_test.py | 100 threads = [ 105 for t in threads: 107 coord.join(threads) 108 for t in threads: 113 threads = [ 118 for t in threads: 122 for t in threads: 127 threads = [ 132 for t in threads: 135 # threads[1] is not registered we must pass it in. [all …]
|
/external/google-benchmark/test/ |
D | internal_threading_test.cc | 45 BENCHMARK(BM_MainThread)->Iterations(1)->Threads(1); 46 BENCHMARK(BM_MainThread)->Iterations(1)->Threads(1)->UseRealTime(); 47 BENCHMARK(BM_MainThread)->Iterations(1)->Threads(1)->UseManualTime(); 48 BENCHMARK(BM_MainThread)->Iterations(1)->Threads(1)->MeasureProcessCPUTime(); 51 ->Threads(1) 56 ->Threads(1) 60 BENCHMARK(BM_MainThread)->Iterations(1)->Threads(2); 61 BENCHMARK(BM_MainThread)->Iterations(1)->Threads(2)->UseRealTime(); 62 BENCHMARK(BM_MainThread)->Iterations(1)->Threads(2)->UseManualTime(); 63 BENCHMARK(BM_MainThread)->Iterations(1)->Threads(2)->MeasureProcessCPUTime(); [all …]
|
D | user_counters_tabular_test.cc | 18 …{"^BM_Counters_Tabular/threads:%int %console_report [ ]*%hrfloat [ ]*%hrfloat [ ]*%hrfloat [ ]*%hr… 19 …{"^BM_Counters_Tabular/threads:%int %console_report [ ]*%hrfloat [ ]*%hrfloat [ ]*%hrfloat [ ]*%hr… 20 …{"^BM_Counters_Tabular/threads:%int %console_report [ ]*%hrfloat [ ]*%hrfloat [ ]*%hrfloat [ ]*%hr… 21 …{"^BM_Counters_Tabular/threads:%int %console_report [ ]*%hrfloat [ ]*%hrfloat [ ]*%hrfloat [ ]*%hr… 22 …{"^BM_Counters_Tabular/threads:%int %console_report [ ]*%hrfloat [ ]*%hrfloat [ ]*%hrfloat [ ]*%hr… 23 …{"^BM_CounterRates_Tabular/threads:%int %console_report [ ]*%hrfloat/s [ ]*%hrfloat/s [ ]*%hrfloat… 24 …{"^BM_CounterRates_Tabular/threads:%int %console_report [ ]*%hrfloat/s [ ]*%hrfloat/s [ ]*%hrfloat… 25 …{"^BM_CounterRates_Tabular/threads:%int %console_report [ ]*%hrfloat/s [ ]*%hrfloat/s [ ]*%hrfloat… 26 …{"^BM_CounterRates_Tabular/threads:%int %console_report [ ]*%hrfloat/s [ ]*%hrfloat/s [ ]*%hrfloat… 27 …{"^BM_CounterRates_Tabular/threads:%int %console_report [ ]*%hrfloat/s [ ]*%hrfloat/s [ ]*%hrfloat… [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/perfetto/test/trace_processor/parsing/ |
D | thread_time_in_state.textproto | 16 threads { 20 threads { 30 threads { 35 threads { 47 threads { 62 threads { 69 threads { 77 threads { 82 threads { 95 threads { [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 …]
|
/external/llvm-project/lldb/test/API/tools/lldb-server/ |
D | TestGdbRemote_vContThreads.py | 28 threads = self.parse_threadinfo_packets(context) 29 self.assertIsNotNone(threads) 30 self.assertEqual(len(threads), num + 1) 33 return threads 36 threads = self.start_threads(1) 37 # try sending a signal to one of the two threads 40 lldbutil.get_signal_number('SIGUSR1'), threads[0]), 64 threads = self.start_threads(1) 65 # try sending a signal to two threads (= the process) 69 threads[0], threads[1]), [all …]
|
/external/pthreadpool/bench/ |
D | throughput.cc | 11 const size_t threads = pthreadpool_get_threads_count(threadpool); in pthreadpool_parallelize_1d() local 18 items * threads, in pthreadpool_parallelize_1d() 34 const size_t threads = pthreadpool_get_threads_count(threadpool); in pthreadpool_parallelize_1d_tile_1d() local 41 items * threads, 1, in pthreadpool_parallelize_1d_tile_1d() 57 const size_t threads = pthreadpool_get_threads_count(threadpool); in pthreadpool_parallelize_2d() local 64 threads, items, in pthreadpool_parallelize_2d() 80 const size_t threads = pthreadpool_get_threads_count(threadpool); in pthreadpool_parallelize_2d_tile_1d() local 87 threads, items, in pthreadpool_parallelize_2d_tile_1d() 104 const size_t threads = pthreadpool_get_threads_count(threadpool); in pthreadpool_parallelize_2d_tile_2d() local 111 threads, items, in pthreadpool_parallelize_2d_tile_2d() [all …]
|