Home
last modified time | relevance | path

Searched refs:Threads (Results 1 – 25 of 94) sorted by relevance

1234

/llvm-project-15.0.7/third-party/benchmark/test/
H A Dinternal_threading_test.cc52 ->Threads(1)
57 ->Threads(1)
67 ->Threads(2)
72 ->Threads(2)
95 ->Threads(1)
100 ->Threads(1)
110 ->Threads(2)
115 ->Threads(2)
136 ->Threads(1)
140 ->Threads(1)
[all …]
H A Dbenchmark_setup_teardown_test.cc69 ->Threads(5)
70 ->Threads(10)
71 ->Threads(15);
/llvm-project-15.0.7/compiler-rt/lib/scudo/standalone/tests/
H A Dwrappers_cpp_test.cpp121 std::thread Threads[32]; in TEST() local
122 for (size_t I = 0U; I < sizeof(Threads) / sizeof(Threads[0]); I++) in TEST()
123 Threads[I] = std::thread(stressNew); in TEST()
129 for (auto &T : Threads) in TEST()
154 std::vector<std::thread *> Threads; in TEST() local
167 Threads.push_back(T); in TEST()
195 for (auto Thread : Threads) in TEST()
197 Threads.clear(); in TEST()
H A Dtsd_test.cpp164 std::thread Threads[32]; in testRegistryThreaded() local
165 for (scudo::uptr I = 0; I < ARRAY_SIZE(Threads); I++) in testRegistryThreaded()
166 Threads[I] = std::thread(stressCache<AllocatorT>, Allocator.get()); in testRegistryThreaded()
172 for (auto &T : Threads) in testRegistryThreaded()
223 std::thread Threads[32]; in TEST() local
224 for (scudo::uptr I = 0; I < ARRAY_SIZE(Threads); I++) in TEST()
225 Threads[I] = std::thread(stressSharedRegistry, Allocator.get()); in TEST()
231 for (auto &T : Threads) in TEST()
241 for (scudo::uptr I = 0; I < ARRAY_SIZE(Threads); I++) in TEST()
242 Threads[I] = std::thread(stressSharedRegistry, Allocator.get()); in TEST()
[all …]
H A Dmutex_test.cpp86 pthread_t Threads[NumberOfThreads]; in TEST() local
88 pthread_create(&Threads[I], 0, lockThread, &Data); in TEST()
90 pthread_join(Threads[I], 0); in TEST()
96 pthread_t Threads[NumberOfThreads]; in TEST() local
98 pthread_create(&Threads[I], 0, tryThread, &Data); in TEST()
100 pthread_join(Threads[I], 0); in TEST()
H A Dsecondary_test.cpp229 std::thread Threads[16]; in TEST_F() local
230 for (scudo::uptr I = 0; I < ARRAY_SIZE(Threads); I++) in TEST_F()
231 Threads[I] = in TEST_F()
238 for (auto &T : Threads) in TEST_F()
H A Dprimary_test.cpp239 std::thread Threads[32]; in SCUDO_TYPED_TEST() local
240 for (scudo::uptr I = 0; I < ARRAY_SIZE(Threads); I++) in SCUDO_TYPED_TEST()
241 Threads[I] = std::thread([&]() { in SCUDO_TYPED_TEST()
271 for (auto &T : Threads) in SCUDO_TYPED_TEST()
/llvm-project-15.0.7/llvm/lib/Support/
H A DParallel.cpp47 Threads.reserve(ThreadCount); in ThreadPoolExecutor()
48 Threads.resize(1); in ThreadPoolExecutor()
50 Threads[0] = std::thread([this, ThreadCount, S] { in ThreadPoolExecutor()
52 Threads.emplace_back([=] { work(S, I); }); in ThreadPoolExecutor()
75 for (std::thread &T : Threads) in ~ThreadPoolExecutor()
117 std::vector<std::thread> Threads; member in llvm::parallel::detail::__anond7d369990111::ThreadPoolExecutor
H A DThreadPool.cpp40 if (Threads.size() >= MaxThreadCount) in grow()
43 while (static_cast<int>(Threads.size()) < newThreadCount) { in grow()
44 int ThreadID = Threads.size(); in grow()
45 Threads.emplace_back([this, ThreadID] { in grow()
171 for (const llvm::thread &Thread : Threads) in isWorkerThread()
185 for (auto &Worker : Threads) in ~ThreadPool()
/llvm-project-15.0.7/libcxx/test/std/thread/thread.mutex/thread.lock/thread.lock.shared/thread.lock.shared.cons/
H A Dmutex_duration.pass.cpp44 static const unsigned Threads = 5; variable
46 std::atomic<unsigned> CountDown(Threads);
78 for (unsigned i = 0; i < Threads; ++i) in main()
92 for (unsigned i = 0; i < Threads; ++i) in main()
H A Dmutex_time_point.pass.cpp44 static constexpr unsigned Threads = 5; variable
46 std::atomic<unsigned> CountDown(Threads);
72 for (unsigned i = 0; i < Threads; ++i) in main()
84 for (unsigned i = 0; i < Threads; ++i) in main()
/llvm-project-15.0.7/compiler-rt/lib/sanitizer_common/tests/
H A Dmalloc_stress_transfer_test.cpp26 std::thread *Threads[kNumThreads]; in main() local
27 for (auto &T : Threads) T = new std::thread(&Thread); in main()
28 for (auto T : Threads) { in main()
H A Dsanitizer_stackdepot_test.cpp128 int Threads; member
157 << "_" << info.param.Threads << (info.param.UseCount ? "_UseCount" : "") in PrintStackDepotBenchmarkParams()
192 for (int i = 0; i < Param.Threads; ++i) in TEST_P()
/llvm-project-15.0.7/compiler-rt/lib/gwp_asan/tests/
H A Dthread_contention.cpp49 std::vector<std::thread> Threads; in runThreadContentionTest() local
55 Threads.emplace_back(asyncTask, GPA, &StartingGun, NumIterations); in runThreadContentionTest()
60 for (auto &T : Threads) in runThreadContentionTest()
H A Dmutex_test.cpp67 std::vector<std::thread> Threads; in runSynchronisedTest() local
76 Threads.emplace_back(synchronousIncrementTask, &StartingGun, &Mu, &Counter, in runSynchronisedTest()
80 for (auto &T : Threads) in runSynchronisedTest()
/llvm-project-15.0.7/clang-tools-extra/clangd/index/
H A DBackgroundRebuild.h50 unsigned Threads) in BackgroundIndexRebuilder() argument
51 : TUsBeforeFirstBuild(Threads), Target(Target), Source(Source) {} in BackgroundIndexRebuilder()
/llvm-project-15.0.7/llvm/tools/dsymutil/
H A Ddsymutil.cpp354 Options.LinkOpts.Threads = atoi(NumThreads->getValue()); in getOptions()
356 Options.LinkOpts.Threads = 0; // Use all available hardware threads in getOptions()
359 Options.LinkOpts.Threads = 1; in getOptions()
669 Options.LinkOpts.Statistics ? 1 : Options.LinkOpts.Threads); in dsymutil_main()
670 if (Options.LinkOpts.Threads == 0) { in dsymutil_main()
676 ThreadPool Threads(S); in dsymutil_main() local
764 Threads.async(LinkLambda, OS, Options.LinkOpts); in dsymutil_main()
767 Threads.wait(); in dsymutil_main()
/llvm-project-15.0.7/libc/benchmarks/
H A DCMakeLists.txt1 find_package(Threads)
81 Threads::Threads
/llvm-project-15.0.7/lldb/unittests/tools/lldb-server/tests/
H A DMessageObjects.cpp291 SmallVector<StringRef, 20> Threads; in create() local
293 Elements["threads"][0].split(Threads, ','); in create()
295 if (Threads.size() != Pcs.size()) in create()
304 for (auto ThreadPc : zip(Threads, Pcs)) { in create()
/llvm-project-15.0.7/third-party/benchmark/cmake/
H A DConfig.cmake.in5 find_dependency (Threads)
/llvm-project-15.0.7/lldb/test/API/functionalities/postmortem/minidump-new/
H A Darm-linux.yaml12 Threads:
H A Darm-macos.yaml12 Threads:
H A Darm64-macos.yaml12 Threads:
H A Dlinux-x86_64_null_signal.yaml4 Threads:
/llvm-project-15.0.7/third-party/benchmark/src/
H A DCMakeLists.txt37 target_link_libraries(benchmark PRIVATE Threads::Threads)

1234