HomeSort by: relevance | last modified time | path
    Searched refs:ThreadCount (Results 1 - 25 of 29) sorted by relevancy

1 2

  /src/external/apache2/llvm/dist/llvm/lib/Support/
ThreadPool.cpp 24 : ThreadCount(S.compute_thread_count()) {
25 // Create ThreadCount threads that will loop forever, wait on QueueCondition
27 Threads.reserve(ThreadCount);
28 for (unsigned ThreadID = 0; ThreadID < ThreadCount; ++ThreadID) {
105 // No threads are launched, issue a warning if ThreadCount is not 0
107 : ThreadCount(S.compute_thread_count()) {
108 if (ThreadCount != 1) {
109 errs() << "Warning: request a ThreadPool with " << ThreadCount
Parallel.cpp 44 unsigned ThreadCount = S.compute_thread_count();
47 Threads.reserve(ThreadCount);
50 Threads[0] = std::thread([this, ThreadCount, S] {
51 for (unsigned I = 1; I < ThreadCount; ++I) {
  /src/external/apache2/llvm/dist/llvm/lib/CodeGen/
ParallelCG.cpp 57 int ThreadCount = 0;
73 BCOSs[ThreadCount]->write(BC.begin(), BC.size());
74 BCOSs[ThreadCount]->flush();
77 llvm::raw_pwrite_stream *ThreadOS = OSs[ThreadCount++];
  /src/external/apache2/llvm/dist/clang/include/clang/Tooling/
AllTUsExecution.h 30 /// This uses \p ThreadCount threads to exececute the actions on all files in
31 /// parallel. If \p ThreadCount is 0, this uses `llvm::hardware_concurrency`.
33 unsigned ThreadCount,
41 AllTUsToolExecutor(CommonOptionsParser Options, unsigned ThreadCount,
69 unsigned ThreadCount;
  /src/external/apache2/llvm/dist/clang/lib/Tooling/
AllTUsExecution.cpp 65 const CompilationDatabase &Compilations, unsigned ThreadCount,
68 Context(Results.get()), ThreadCount(ThreadCount) {}
71 CommonOptionsParser Options, unsigned ThreadCount,
76 ThreadCount(ThreadCount) {}
118 llvm::ThreadPool Pool(llvm::hardware_concurrency(ThreadCount));
  /src/sys/external/bsd/compiler_rt/dist/lib/sanitizer_common/
sanitizer_stoptheworld.h 43 virtual uptr ThreadCount() const { UNIMPLEMENTED(); }
sanitizer_stoptheworld_mac.cc 37 uptr ThreadCount() const;
76 uptr num_suspended = suspended_threads_list.ThreadCount();
121 uptr SuspendedThreadsListMac::ThreadCount() const {
sanitizer_stoptheworld_linux_libcdep.cc 94 uptr ThreadCount() const;
189 for (uptr i = 0; i < suspended_threads_list_.ThreadCount(); i++) {
205 for (uptr i = 0; i < suspended_threads_list_.ThreadCount(); i++)
231 return suspended_threads_list_.ThreadCount();
520 uptr SuspendedThreadsListLinux::ThreadCount() const {
  /src/external/apache2/llvm/dist/llvm/include/llvm/Support/
Threading.h 194 heavyweight_hardware_concurrency(unsigned ThreadCount = 0) {
197 S.ThreadsRequested = ThreadCount;
217 inline ThreadPoolStrategy hardware_concurrency(unsigned ThreadCount = 0) {
219 S.ThreadsRequested = ThreadCount;
ThreadPool.h 71 unsigned getThreadCount() const { return ThreadCount; }
101 unsigned ThreadCount;
  /src/external/gpl3/gcc.old/dist/libsanitizer/sanitizer_common/
sanitizer_stoptheworld.h 40 virtual uptr ThreadCount() const { UNIMPLEMENTED(); }
sanitizer_stoptheworld_mac.cpp 36 uptr ThreadCount() const override;
75 uptr num_suspended = suspended_threads_list.ThreadCount();
121 uptr SuspendedThreadsListMac::ThreadCount() const {
sanitizer_stoptheworld_linux_libcdep.cpp 93 uptr ThreadCount() const override;
188 for (uptr i = 0; i < suspended_threads_list_.ThreadCount(); i++) {
204 for (uptr i = 0; i < suspended_threads_list_.ThreadCount(); i++)
231 return suspended_threads_list_.ThreadCount();
540 uptr SuspendedThreadsListLinux::ThreadCount() const {
sanitizer_stoptheworld_netbsd_libcdep.cpp 56 uptr ThreadCount() const;
321 uptr SuspendedThreadsListNetBSD::ThreadCount() const {
  /src/sys/external/bsd/acpica/dist/dispatcher/
dsmethod.c 372 if (ObjDesc->Method.ThreadCount == ACPI_UINT8_MAX)
500 ObjDesc->Method.ThreadCount++;
822 (MethodDesc->Method.ThreadCount == 1))
870 if (MethodDesc->Method.ThreadCount)
872 MethodDesc->Method.ThreadCount--;
882 if (MethodDesc->Method.ThreadCount)
890 MethodDesc->Method.ThreadCount));
  /src/external/gpl3/gcc.old/dist/libphobos/libdruntime/core/sys/windows/
psapi.d 72 DWORD ThreadCount;
  /src/external/apache2/llvm/dist/llvm/tools/llvm-gsymutil/
llvm-gsymutil.cpp 280 auto ThreadCount =
321 if (auto Err = DT.convert(ThreadCount))
  /src/sys/external/bsd/acpica/dist/include/
acobject.h 230 UINT8 ThreadCount;
  /src/sys/external/bsd/compiler_rt/dist/lib/lsan/
lsan_common.cc 222 for (uptr i = 0; i < suspended_threads.ThreadCount(); i++) {
544 InternalMmapVector<tid_t> threads(suspended_threads.ThreadCount());
545 for (uptr i = 0; i < suspended_threads.ThreadCount(); ++i)
  /src/external/gpl3/gcc.old/dist/libsanitizer/lsan/
lsan_common.cpp 280 for (uptr i = 0; i < suspended_threads.ThreadCount(); i++) {
635 InternalMmapVector<tid_t> threads(suspended_threads.ThreadCount());
636 for (uptr i = 0; i < suspended_threads.ThreadCount(); ++i)
  /src/sys/external/bsd/compiler_rt/dist/lib/tsan/rtl/
tsan_rtl_thread.cc 226 int ThreadCount(ThreadState *thr) {
  /src/external/gpl3/gcc.old/dist/libsanitizer/tsan/
tsan_rtl_thread.cpp 108 int ThreadCount(ThreadState *thr) {
tsan_rtl.cpp 458 if (flags()->atexit_sleep_ms > 0 && ThreadCount(thr) > 1)
  /src/external/apache2/llvm/dist/llvm/lib/LTO/
LTOBackend.cpp 428 unsigned ThreadCount = 0;
463 std::move(BC), ThreadCount++);
ThinLTOCodeGenerator.cpp 89 static cl::opt<int> ThreadCount("threads", cl::init(0));
1076 ThreadPool Pool(heavyweight_hardware_concurrency(ThreadCount));

Completed in 76 milliseconds

1 2