Home
last modified time | relevance | path

Searched refs:ThreadCount (Results 1 – 25 of 37) sorted by relevance

12

/netbsd-src/external/apache2/llvm/dist/llvm/lib/Support/
H A DThreadPool.cpp24 : ThreadCount(S.compute_thread_count()) { in ThreadPool()
27 Threads.reserve(ThreadCount); in ThreadPool()
28 for (unsigned ThreadID = 0; ThreadID < ThreadCount; ++ThreadID) { in ThreadPool()
107 : ThreadCount(S.compute_thread_count()) { in ThreadPool()
108 if (ThreadCount != 1) { in ThreadPool()
109 errs() << "Warning: request a ThreadPool with " << ThreadCount in ThreadPool()
H A DParallel.cpp44 unsigned ThreadCount = S.compute_thread_count(); in ThreadPoolExecutor() local
47 Threads.reserve(ThreadCount); in ThreadPoolExecutor()
50 Threads[0] = std::thread([this, ThreadCount, S] { in ThreadPoolExecutor()
51 for (unsigned I = 1; I < ThreadCount; ++I) { in ThreadPoolExecutor()
/netbsd-src/external/apache2/llvm/dist/clang/lib/Tooling/
H A DAllTUsExecution.cpp65 const CompilationDatabase &Compilations, unsigned ThreadCount, in AllTUsToolExecutor() argument
68 Context(Results.get()), ThreadCount(ThreadCount) {} in AllTUsToolExecutor()
71 CommonOptionsParser Options, unsigned ThreadCount, in AllTUsToolExecutor() argument
76 ThreadCount(ThreadCount) {} in AllTUsToolExecutor()
118 llvm::ThreadPool Pool(llvm::hardware_concurrency(ThreadCount)); in execute()
/netbsd-src/external/apache2/llvm/dist/llvm/lib/CodeGen/
H A DParallelCG.cpp57 int ThreadCount = 0; in splitCodeGen() local
73 BCOSs[ThreadCount]->write(BC.begin(), BC.size()); in splitCodeGen()
74 BCOSs[ThreadCount]->flush(); in splitCodeGen()
77 llvm::raw_pwrite_stream *ThreadOS = OSs[ThreadCount++]; in splitCodeGen()
/netbsd-src/external/apache2/llvm/dist/llvm/include/llvm/Support/
H A DThreading.h194 heavyweight_hardware_concurrency(unsigned ThreadCount = 0) {
197 S.ThreadsRequested = ThreadCount;
217 inline ThreadPoolStrategy hardware_concurrency(unsigned ThreadCount = 0) {
219 S.ThreadsRequested = ThreadCount;
H A DThreadPool.h71 unsigned getThreadCount() const { return ThreadCount; } in getThreadCount()
101 unsigned ThreadCount; variable
/netbsd-src/external/apache2/llvm/dist/clang/include/clang/Tooling/
H A DAllTUsExecution.h33 unsigned ThreadCount,
41 AllTUsToolExecutor(CommonOptionsParser Options, unsigned ThreadCount,
69 unsigned ThreadCount; variable
/netbsd-src/sys/external/bsd/acpica/dist/dispatcher/
H A Ddsmethod.c372 if (ObjDesc->Method.ThreadCount == ACPI_UINT8_MAX) in AcpiDsBeginMethodExecution()
500 ObjDesc->Method.ThreadCount++; in AcpiDsBeginMethodExecution()
815 (MethodDesc->Method.ThreadCount == 1)) in AcpiDsTerminateControlMethod()
863 if (MethodDesc->Method.ThreadCount) in AcpiDsTerminateControlMethod()
865 MethodDesc->Method.ThreadCount--; in AcpiDsTerminateControlMethod()
875 if (MethodDesc->Method.ThreadCount) in AcpiDsTerminateControlMethod()
883 MethodDesc->Method.ThreadCount)); in AcpiDsTerminateControlMethod()
/netbsd-src/external/gpl3/gcc.old/dist/libsanitizer/sanitizer_common/
H A Dsanitizer_stoptheworld_mac.cc35 uptr ThreadCount() const;
74 uptr num_suspended = suspended_threads_list.ThreadCount(); in RunThread()
119 uptr SuspendedThreadsListMac::ThreadCount() const { in ThreadCount() function in __sanitizer::SuspendedThreadsListMac
H A Dsanitizer_stoptheworld_linux_libcdep.cc108 uptr ThreadCount() const;
203 for (uptr i = 0; i < suspended_threads_list_.ThreadCount(); i++) { in ResumeAllThreads()
219 for (uptr i = 0; i < suspended_threads_list_.ThreadCount(); i++) in KillAllThreads()
245 return suspended_threads_list_.ThreadCount(); in SuspendAllThreads()
546 uptr SuspendedThreadsListLinux::ThreadCount() const { in ThreadCount() function in __sanitizer::SuspendedThreadsListLinux
H A Dsanitizer_stoptheworld.h41 virtual uptr ThreadCount() const { UNIMPLEMENTED(); } in ThreadCount() function
H A Dsanitizer_stoptheworld_netbsd_libcdep.cc56 uptr ThreadCount() const;
321 uptr SuspendedThreadsListNetBSD::ThreadCount() const { in ThreadCount() function in __sanitizer::SuspendedThreadsListNetBSD
/netbsd-src/sys/external/bsd/compiler_rt/dist/lib/sanitizer_common/
H A Dsanitizer_stoptheworld_mac.cc37 uptr ThreadCount() const;
76 uptr num_suspended = suspended_threads_list.ThreadCount(); in RunThread()
121 uptr SuspendedThreadsListMac::ThreadCount() const { in ThreadCount() function in __sanitizer::SuspendedThreadsListMac
H A Dsanitizer_stoptheworld_linux_libcdep.cc94 uptr ThreadCount() const;
189 for (uptr i = 0; i < suspended_threads_list_.ThreadCount(); i++) { in ResumeAllThreads()
205 for (uptr i = 0; i < suspended_threads_list_.ThreadCount(); i++) in KillAllThreads()
231 return suspended_threads_list_.ThreadCount(); in SuspendAllThreads()
520 uptr SuspendedThreadsListLinux::ThreadCount() const { in ThreadCount() function in __sanitizer::SuspendedThreadsListLinux
H A Dsanitizer_stoptheworld.h43 virtual uptr ThreadCount() const { UNIMPLEMENTED(); } in ThreadCount() function
/netbsd-src/external/gpl3/gcc/dist/libsanitizer/sanitizer_common/
H A Dsanitizer_stoptheworld_mac.cpp36 uptr ThreadCount() const override;
75 uptr num_suspended = suspended_threads_list.ThreadCount(); in RunThread()
121 uptr SuspendedThreadsListMac::ThreadCount() const { in ThreadCount() function in __sanitizer::SuspendedThreadsListMac
H A Dsanitizer_stoptheworld_linux_libcdep.cpp93 uptr ThreadCount() const override;
188 for (uptr i = 0; i < suspended_threads_list_.ThreadCount(); i++) { in ResumeAllThreads()
204 for (uptr i = 0; i < suspended_threads_list_.ThreadCount(); i++) in KillAllThreads()
231 return suspended_threads_list_.ThreadCount(); in SuspendAllThreads()
540 uptr SuspendedThreadsListLinux::ThreadCount() const { in ThreadCount() function in __sanitizer::SuspendedThreadsListLinux
H A Dsanitizer_stoptheworld.h40 virtual uptr ThreadCount() const { UNIMPLEMENTED(); } in ThreadCount() function
H A Dsanitizer_stoptheworld_netbsd_libcdep.cpp56 uptr ThreadCount() const;
321 uptr SuspendedThreadsListNetBSD::ThreadCount() const { in ThreadCount() function in __sanitizer::SuspendedThreadsListNetBSD
/netbsd-src/external/apache2/llvm/dist/llvm/tools/llvm-gsymutil/
H A Dllvm-gsymutil.cpp280 auto ThreadCount = in handleObjectFile() local
321 if (auto Err = DT.convert(ThreadCount)) in handleObjectFile()
/netbsd-src/sys/external/bsd/compiler_rt/dist/lib/lsan/
H A Dlsan_common.cc222 for (uptr i = 0; i < suspended_threads.ThreadCount(); i++) { in ProcessThreads()
544 InternalMmapVector<tid_t> threads(suspended_threads.ThreadCount()); in ReportUnsuspendedThreads()
545 for (uptr i = 0; i < suspended_threads.ThreadCount(); ++i) in ReportUnsuspendedThreads()
/netbsd-src/external/gpl3/gcc.old/dist/libsanitizer/lsan/
H A Dlsan_common.cc220 for (uptr i = 0; i < suspended_threads.ThreadCount(); i++) { in ProcessThreads()
542 InternalMmapVector<tid_t> threads(suspended_threads.ThreadCount()); in ReportUnsuspendedThreads()
543 for (uptr i = 0; i < suspended_threads.ThreadCount(); ++i) in ReportUnsuspendedThreads()
/netbsd-src/external/gpl3/gcc/dist/libsanitizer/lsan/
H A Dlsan_common.cpp280 for (uptr i = 0; i < suspended_threads.ThreadCount(); i++) { in ProcessThreads()
635 InternalMmapVector<tid_t> threads(suspended_threads.ThreadCount()); in ReportUnsuspendedThreads()
636 for (uptr i = 0; i < suspended_threads.ThreadCount(); ++i) in ReportUnsuspendedThreads()
/netbsd-src/external/gpl3/gcc/dist/libphobos/libdruntime/core/sys/windows/
H A Dpsapi.d72 DWORD ThreadCount; member
/netbsd-src/sys/external/bsd/acpica/dist/include/
H A Dacobject.h230 UINT8 ThreadCount; member

12