Home
last modified time | relevance | path

Searched defs:threads (Results 1 – 25 of 615) sorted by relevance

12345678910>>...25

/external/rust/crates/crossbeam-channel/benches/
Dcrossbeam.rs39 let threads = num_cpus::get(); in par_inout() localVariable
102 let threads = num_cpus::get() - 1; in spmc() localVariable
138 let threads = num_cpus::get() - 1; in mpsc() localVariable
174 let threads = num_cpus::get(); in mpmc() localVariable
250 let threads = num_cpus::get() - 1; in spmc() localVariable
286 let threads = num_cpus::get() - 1; in mpsc() localVariable
322 let threads = num_cpus::get(); in par_inout() localVariable
356 let threads = num_cpus::get(); in mpmc() localVariable
447 let threads = num_cpus::get() - 1; in spmc() localVariable
483 let threads = num_cpus::get() - 1; in mpsc() localVariable
[all …]
/external/pthreadpool/bench/
Dthroughput.cc11 const size_t threads = pthreadpool_get_threads_count(threadpool); in pthreadpool_parallelize_1d() local
34 const size_t threads = pthreadpool_get_threads_count(threadpool); in pthreadpool_parallelize_1d_tile_1d() local
57 const size_t threads = pthreadpool_get_threads_count(threadpool); in pthreadpool_parallelize_2d() local
80 const size_t threads = pthreadpool_get_threads_count(threadpool); in pthreadpool_parallelize_2d_tile_1d() local
104 const size_t threads = pthreadpool_get_threads_count(threadpool); in pthreadpool_parallelize_2d_tile_2d() local
128 const size_t threads = pthreadpool_get_threads_count(threadpool); in pthreadpool_parallelize_3d() local
151 const size_t threads = pthreadpool_get_threads_count(threadpool); in pthreadpool_parallelize_3d_tile_1d() local
175 const size_t threads = pthreadpool_get_threads_count(threadpool); in pthreadpool_parallelize_3d_tile_2d() local
199 const size_t threads = pthreadpool_get_threads_count(threadpool); in pthreadpool_parallelize_4d() local
222 const size_t threads = pthreadpool_get_threads_count(threadpool); in pthreadpool_parallelize_4d_tile_1d() local
[all …]
Dlatency.cc19 const uint32_t threads = static_cast<uint32_t>(state.range(0)); in pthreadpool_parallelize_1d() local
38 const uint32_t threads = static_cast<uint32_t>(state.range(0)); in pthreadpool_parallelize_1d_tile_1d() local
57 const uint32_t threads = static_cast<uint32_t>(state.range(0)); in pthreadpool_parallelize_2d() local
76 const uint32_t threads = static_cast<uint32_t>(state.range(0)); in pthreadpool_parallelize_2d_tile_2d() local
/external/webrtc/rtc_base/synchronization/
Dmutex_unittest.cc143 void StartThreads(std::vector<std::unique_ptr<Thread>>& threads, in StartThreads()
154 std::vector<std::unique_ptr<Thread>> threads; in TEST() local
163 std::vector<std::unique_ptr<Thread>> threads; in TEST() local
172 std::vector<std::unique_ptr<Thread>> threads; in TEST() local
181 std::vector<std::unique_ptr<Thread>> threads; in TEST() local
190 std::vector<std::unique_ptr<Thread>> threads; in TEST() local
/external/tensorflow/tensorflow/core/util/
Dwork_sharder_test.cc32 thread::ThreadPool* threads) { in RunSharding()
65 thread::ThreadPool threads(Env::Default(), "test", 16); in TEST() local
79 thread::ThreadPool threads(Env::Default(), "test", 3); in TEST() local
95 thread::ThreadPool threads(Env::Default(), "test", 16); in BM_Sharding() local
/external/kotlinx.coroutines/benchmarks/src/jmh/kotlin/benchmarks/scheduler/
DDispatchersContextSwitchBenchmark.kt52 fun threads() { in coroutinesIoDispatcher() method
53 val threads = List(nCoroutines) { in coroutinesIoDispatcher() constant
/external/tensorflow/tensorflow/core/common_runtime/device/
Ddevice_event_mgr_test.cc436 static void BM_no_ops(int iters, int threads) { in BM_no_ops()
631 static void BM_chain_1024_1_false(int iters, int threads) { in BM_chain_ops()
635 static void BM_chain_1024_1_true(int iters, int threads) { in BM_chain_ops()
639 static void BM_chain_1024_10_false(int iters, int threads) { in BM_chain_ops()
643 static void BM_chain_1024_10_true(int iters, int threads) { in BM_chain_ops()
647 static void BM_chain_1024_100_false(int iters, int threads) { in BM_chain_ops()
651 static void BM_chain_1024_100_true(int iters, int threads) { in BM_chain_ops()
655 static void BM_chain_1M_1_false(int iters, int threads) { in BM_chain_ops()
659 static void BM_chain_1M_1_true(int iters, int threads) { in BM_chain_ops()
663 static void BM_chain_1M_10_false(int iters, int threads) { in BM_chain_ops()
[all …]
/external/apache-harmony/jdwp/src/test/java/org/apache/harmony/jpda/tests/jdwp/VirtualMachine/
DAllThreadsTest.java73 int threads = reply.getNextValueAsInt(); in testAllThreads003() local
132 int threads = reply.getNextValueAsInt(); in testAllThreads002() local
203 int threads = reply.getNextValueAsInt(); in testAllThreads001() local
/external/OpenCL-CTS/test_conformance/compiler/
Dtest_preprocessor.cpp92 size_t threads[3] = {num_elements, 0, 0}; in test_preprocessor_define_udef() local
178 size_t threads[3] = {num_elements, 0, 0}; in test_preprocessor_include() local
275 size_t threads[3] = {num_elements, 0, 0}; in test_preprocessor_line_error() local
316 size_t threads[3] = {num_elements, 0, 0}; in test_preprocessor_pragma() local
/external/icu/icu4j/main/tests/translit/src/com/ibm/icu/dev/test/translit/
DThreadTest.java25 private ArrayList<Worker> threads = new ArrayList<Worker>(); field in ThreadTest
80 ArrayList<Thread> threads = new ArrayList<Thread>(); in TestAnyTranslit() local
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/translit/
DThreadTest.java28 private ArrayList<Worker> threads = new ArrayList<Worker>(); field in ThreadTest
83 ArrayList<Thread> threads = new ArrayList<Thread>(); in TestAnyTranslit() local
/external/tensorflow/tensorflow/core/kernels/
Dvariable_ops_test.cc31 void ManyManyVariablesHelper(int threads, int variables, in ManyManyVariablesHelper()
60 const int threads = state.range(0); in BM_ManyManyVariablesManyThreads() local
/external/rust/crates/once_cell/examples/
Dbench_vs_lazy_static.rs16 let threads = (0..N_THREADS) in main() localVariable
26 let threads = (0..N_THREADS) in main() localVariable
/external/skqp/src/core/
DSkExecutor.cpp66 explicit SkThreadPool(int threads) { in SkThreadPool()
134 std::unique_ptr<SkExecutor> SkExecutor::MakeFIFOThreadPool(int threads) { in MakeFIFOThreadPool()
138 std::unique_ptr<SkExecutor> SkExecutor::MakeLIFOThreadPool(int threads) { in MakeLIFOThreadPool()
/external/tensorflow/tensorflow/core/lib/core/
Dthreadpool_test.cc66 void RunWithFixedBlockSize(int64 block_size, int64 total, ThreadPool* threads) { in RunWithFixedBlockSize()
107 ThreadPool threads(Env::Default(), "test", 16); in TEST() local
118 ThreadPool* threads) { in RunWithFixedBlockSizeTransformRangeConcurrently()
156 ThreadPool threads(Env::Default(), "test", 16); in TEST() local
167 ThreadPool threads(Env::Default(), "test", 16); in TEST() local
186 ThreadPool threads(Env::Default(), "test", 16); in TEST() local
205 ThreadPool* threads) { in RunFixedBlockSizeShardingWithWorkerId()
251 ThreadPool threads(Env::Default(), "test", num_threads); in TEST() local
/external/OpenCL-CTS/test_conformance/api/
Dtest_kernels.cpp180 size_t threads[1], localThreads[1]; in test_execute_kernel_local_sizes() local
311 size_t threads[1], localThreads[1]; in test_set_kernel_arg_by_index() local
381 size_t threads[1], localThreads[1]; in test_set_kernel_arg_constant() local
468 size_t threads[1], localThreads[1]; in test_set_kernel_arg_struct_array() local
574 size_t threads[1], localThreads[1]; in test_kernel_global_constant() local
/external/swiftshader/third_party/marl/src/
Dmarl_bench.h68 for (unsigned int threads = 1U; threads <= numLogicalCPUs; threads++) { in args() local
72 for (unsigned int threads = 1U; threads <= numLogicalCPUs; threads *= 2) { in args() local
/external/skia/src/core/
DSkExecutor.cpp73 explicit SkThreadPool(int threads, bool allowBorrowing) : fAllowBorrowing(allowBorrowing) { in SkThreadPool()
142 std::unique_ptr<SkExecutor> SkExecutor::MakeFIFOThreadPool(int threads, bool allowBorrowing) { in MakeFIFOThreadPool()
147 std::unique_ptr<SkExecutor> SkExecutor::MakeLIFOThreadPool(int threads, bool allowBorrowing) { in MakeLIFOThreadPool()
/external/webrtc/rtc_base/deprecated/
Drecursive_critical_section_unittest.cc202 void StartThreads(std::vector<std::unique_ptr<Thread>>* threads, in StartThreads()
251 std::vector<std::unique_ptr<Thread>> threads; in TEST() local
264 std::vector<std::unique_ptr<Thread>> threads; in TEST() local
276 std::vector<std::unique_ptr<Thread>> threads; in TEST() local
288 std::vector<std::unique_ptr<Thread>> threads; in TEST() local
395 PerfTestThread threads[8]; in TEST() local
/external/llvm-project/lldb/source/API/
DSBThreadCollection.cpp38 SBThreadCollection::SBThreadCollection(const ThreadCollectionSP &threads) in SBThreadCollection()
43 void SBThreadCollection::SetOpaque(const lldb::ThreadCollectionSP &threads) { in SetOpaque()
/external/elfutils/tests/
Ddwfl-proc-attach.c66 int *threads = (int *) thread_arg; in thread_callback() local
96 int threads = 0; in main() local
/external/mockito/src/test/java/org/mockitousage/bugs/
DShouldNotDeadlockAnswerExecutionTest.java25 ExecutorService threads = Executors.newCachedThreadPool(); in failIfMockIsSharedBetweenThreads() local
51 ExecutorService threads = Executors.newCachedThreadPool(); in successIfEveryThreadHasItsOwnMock() local
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/collator/
DCollationThreadTest.java229 private void runThreads(Thread[] threads, Control control) { in runThreads()
262 Thread[] threads = new Thread[10]; in testThreads() local
287 Thread[] threads = new Thread[10]; in testFrozen() local
/external/icu/icu4j/main/tests/collate/src/com/ibm/icu/dev/test/collator/
DCollationThreadTest.java226 private void runThreads(Thread[] threads, Control control) { in runThreads()
259 Thread[] threads = new Thread[10]; in testThreads() local
284 Thread[] threads = new Thread[10]; in testFrozen() local
/external/eigen/demos/mandelbrot/
Dmandelbrot.h45 MandelbrotThread **threads; variable
66 for(int th = 0; th < threadcount; th++) delete threads[th]; in ~MandelbrotWidget() local

12345678910>>...25