Home
last modified time | relevance | path

Searched refs:hardware_concurrency (Results 1 – 13 of 13) sorted by relevance

/freebsd-12.1/contrib/llvm/lib/Support/
H A DThreading.cpp50 unsigned llvm::hardware_concurrency() { return 1; } in hardware_concurrency() function in llvm
72 return std::thread::hardware_concurrency(); in heavyweight_hardware_concurrency()
76 unsigned llvm::hardware_concurrency() { in hardware_concurrency() function in llvm
83 if (unsigned Val = std::thread::hardware_concurrency()) in hardware_concurrency()
H A DParallel.cpp66 explicit ThreadPoolExecutor(unsigned ThreadCount = hardware_concurrency()) in ThreadPoolExecutor()
H A DThreadPool.cpp25 ThreadPool::ThreadPool() : ThreadPool(hardware_concurrency()) {} in ThreadPool()
/freebsd-12.1/contrib/libc++/src/
H A Dthread.cpp78 thread::hardware_concurrency() _NOEXCEPT in hardware_concurrency() function in thread
105 # warning hardware_concurrency not yet implemented in hardware_concurrency()
/freebsd-12.1/contrib/llvm/include/llvm/Support/
H A Dthread.h46 static unsigned hardware_concurrency() { return 1; }; in hardware_concurrency() function
H A DThreading.h141 unsigned hardware_concurrency();
/freebsd-12.1/contrib/llvm/tools/lldb/source/Host/common/
H A DTaskPool.cpp55 std::max(1u, std::thread::hardware_concurrency()); in GetHardwareConcurrencyHint()
/freebsd-12.1/contrib/llvm/tools/clang/lib/Tooling/
H A DAllTUsExecution.cpp116 llvm::ThreadPool Pool(ThreadCount == 0 ? llvm::hardware_concurrency() in execute()
/freebsd-12.1/contrib/libc++/include/
H A Dthread47 static unsigned hardware_concurrency() noexcept;
268 static unsigned hardware_concurrency() _NOEXCEPT;
/freebsd-12.1/contrib/compiler-rt/lib/fuzzer/
H A DFuzzerUtil.cpp216 unsigned N = std::thread::hardware_concurrency(); in NumberOfCpuCores()
/freebsd-12.1/sys/contrib/zstd/contrib/pzstd/
H A DOptions.cpp40 return std::thread::hardware_concurrency(); in defaultNumThreads()
/freebsd-12.1/contrib/llvm/tools/llvm-profdata/
H A Dllvm-profdata.cpp305 std::min(hardware_concurrency(), unsigned((Inputs.size() + 1) / 2)); in mergeInstrProfile()
/freebsd-12.1/contrib/llvm/tools/lld/ELF/
H A DSyntheticSections.cpp2502 std::min<size_t>(PowerOf2Floor(hardware_concurrency()), NumShards); in createSymbols()
2929 std::min<size_t>(PowerOf2Floor(hardware_concurrency()), NumShards); in finalizeContents()