| /llvm-project-15.0.7/third-party/benchmark/test/ |
| H A D | internal_threading_test.cc | 52 ->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 D | benchmark_setup_teardown_test.cc | 69 ->Threads(5) 70 ->Threads(10) 71 ->Threads(15);
|
| /llvm-project-15.0.7/compiler-rt/lib/scudo/standalone/tests/ |
| H A D | wrappers_cpp_test.cpp | 121 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 D | tsd_test.cpp | 164 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 D | mutex_test.cpp | 86 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 D | secondary_test.cpp | 229 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 D | primary_test.cpp | 239 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 D | Parallel.cpp | 47 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 D | ThreadPool.cpp | 40 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 D | mutex_duration.pass.cpp | 44 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 D | mutex_time_point.pass.cpp | 44 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 D | malloc_stress_transfer_test.cpp | 26 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 D | sanitizer_stackdepot_test.cpp | 128 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 D | thread_contention.cpp | 49 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 D | mutex_test.cpp | 67 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 D | BackgroundRebuild.h | 50 unsigned Threads) in BackgroundIndexRebuilder() argument 51 : TUsBeforeFirstBuild(Threads), Target(Target), Source(Source) {} in BackgroundIndexRebuilder()
|
| /llvm-project-15.0.7/llvm/tools/dsymutil/ |
| H A D | dsymutil.cpp | 354 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 D | CMakeLists.txt | 1 find_package(Threads) 81 Threads::Threads
|
| /llvm-project-15.0.7/lldb/unittests/tools/lldb-server/tests/ |
| H A D | MessageObjects.cpp | 291 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 D | Config.cmake.in | 5 find_dependency (Threads)
|
| /llvm-project-15.0.7/lldb/test/API/functionalities/postmortem/minidump-new/ |
| H A D | arm-linux.yaml | 12 Threads:
|
| H A D | arm-macos.yaml | 12 Threads:
|
| H A D | arm64-macos.yaml | 12 Threads:
|
| H A D | linux-x86_64_null_signal.yaml | 4 Threads:
|
| /llvm-project-15.0.7/third-party/benchmark/src/ |
| H A D | CMakeLists.txt | 37 target_link_libraries(benchmark PRIVATE Threads::Threads)
|