/hardware/interfaces/tests/multithread/1.0/ |
IMultithread.hal | 30 * @param numThreads number of calls in parallel to finish 32 setNumThreads(int32_t maxThreads, int32_t numThreads); 36 * @return noTimeout numThreads appeared in parallel before timeout
|
/external/deqp/framework/delibs/decpp/ |
deSpinBarrier.hpp | 57 SpinBarrier (deInt32 numThreads); 62 void reset (deUint32 numThreads);
|
deSpinBarrier.cpp | 34 SpinBarrier::SpinBarrier (deInt32 numThreads) 36 , m_numThreads (numThreads) 41 DE_ASSERT(numThreads > 0); 49 void SpinBarrier::reset (deUint32 numThreads) 53 DE_ASSERT(numThreads > 0); 54 m_numThreads = numThreads; 60 inline SpinBarrier::WaitMode getWaitMode (SpinBarrier::WaitMode requested, deUint32 numCores, deInt32 numThreads) 63 return ((deUint32)numThreads <= numCores) ? SpinBarrier::WAIT_MODE_BUSY : SpinBarrier::WAIT_MODE_YIELD; 175 TestThread (SpinBarrier& barrier, volatile deInt32* sharedVar, int numThreads, int threadNdx) 178 , m_numThreads (numThreads) [all...] |
deAppendList.cpp | 62 SharedState (deUint32 numThreads, deUint32 numElements_, deUint32 numElementsHint) 64 , barrier (numThreads) 97 void runAppendListTest (deUint32 numThreads, deUint32 numElements, deUint32 numElementsHint) 99 SharedState sharedState (numThreads, numElements, numElementsHint); 100 vector<TestThreadSp> threads (numThreads); 102 for (deUint32 threadNdx = 0; threadNdx < numThreads; ++threadNdx) 108 for (deUint32 threadNdx = 0; threadNdx < numThreads; ++threadNdx) 111 DE_TEST_ASSERT(sharedState.testList.size() == (size_t)numElements*(size_t)numThreads); 114 vector<deUint32> countByThread (numThreads); 124 DE_TEST_ASSERT(de::inBounds(elem.threadNdx, 0u, numThreads)); [all...] |
/external/lzma/C/ |
LzmaLib.c | 17 int numThreads /* 1 or 2, default = 2 */
28 props.numThreads = numThreads;
|
LzmaLib.h | 37 -1 for any from: level, loc, lp, pb, fb, numThreads
83 numThreads - The number of thereads. 1 or 2. The default value is 2.
104 int numThreads /* 1 or 2, default = 2 */
|
/hardware/interfaces/tests/multithread/1.0/default/ |
Multithread.cpp | 18 Return<void> Multithread::setNumThreads(int32_t maxThreads, int32_t numThreads) { 20 << maxThreads << ", " << numThreads << ")"; 26 mNumThreads = numThreads;
|
Multithread.h | 26 virtual Return<void> setNumThreads(int32_t maxThreads, int32_t numThreads) override;
|
/external/lzma/CPP/7zip/Common/ |
MethodProps.h | 17 HRESULT ParseMtProp(const UString &name, const PROPVARIANT &prop, UInt32 defaultNumThreads, UInt32 &numThreads);
113 int numThreads = Get_NumThreads();
114 if (numThreads >= 0)
117 return numThreads < 2 ? 1 : 2;
125 int numThreads = Get_NumThreads();
126 if (numThreads >= 0)
129 if (numThreads < 1) return 1;
130 if (numThreads > 64) return 64;
131 return numThreads;
168 void AddProp_NumThreads(UInt32 numThreads)
[all...] |
/prebuilts/ndk/r13/sources/third_party/shaderc/third_party/glslang/glslang/OSDependent/ |
osinclude.h | 57 void OS_WaitForAllThreads(void* threads, int numThreads);
|
/art/test/522-checker-regression-monitor-exit/src/ |
Main.java | 59 int numThreads = 10; 61 ExecutorService pool = Executors.newFixedThreadPool(numThreads); 63 List<HashCodeQuery> queries = new ArrayList<HashCodeQuery>(numThreads); 64 for (int i = 0; i < numThreads; ++i) { 72 for (int i = 0; i < numThreads; ++i) {
|
/external/deqp/external/glslang/ |
osinclude.cpp | 94 void OS_WaitForAllThreads (void* threads, int numThreads) 96 for (int ndx = 0; ndx < numThreads; ndx++)
|
/frameworks/native/cmds/surfacereplayer/replayer/ |
Main.cpp | 64 int numThreads = DEFAULT_THREADS; 74 numThreads = atoi(optarg); 105 android::Replayer r(filename, pauseBeginning, numThreads, wait, stopHere);
|
/external/dagger2/core/src/test/java/dagger/internal/ |
DoubleCheckLazyTest.java | 42 int numThreads = 10; 43 ExecutorService executor = Executors.newFixedThreadPool(numThreads); 45 final CountDownLatch latch = new CountDownLatch(numThreads); 49 List<Callable<Object>> tasks = Lists.newArrayListWithCapacity(numThreads); 50 for (int i = 0; i < numThreads; i++) {
|
/external/eigen/unsupported/Eigen/CXX11/src/Tensor/ |
TensorDeviceThreadPool.h | 133 EIGEN_STRONG_INLINE int numThreads() const { 171 // Returns a logical thread index between 0 and pool_->NumThreads() - 1 if 186 if (n <= 1 || numThreads() == 1 || 187 CostModel::numThreads(n, cost, static_cast<int>(numThreads())) == 1) { 212 (divup<int>(block_count, numThreads()) * numThreads()); 233 (divup<int>(coarser_block_count, numThreads()) * numThreads());
|
/libcore/luni/src/test/java/tests/support/ |
ThreadPool.java | 32 public ThreadPool(int numThreads) { 39 for (int i = 0; i < numThreads; i++) {
|
/external/jemalloc/msvc/projects/vc2015/test_threads/ |
test_threads.cpp | 32 static const int numThreads = narenas + 1, numAllocsMax = 25, numIter1 = 50, numIter2 = 50; 39 printf("Starting %d threads x %d x %d iterations...\n", numThreads, numIter1, numIter2); 40 for (int i = 0; i < numThreads; i++) {
|
/external/aac/libAACdec/src/ |
aacdec_drc_types.h | 158 USHORT numThreads; /* The number of DRC data threads extracted from the found payload elements */
|
/external/icu/icu4c/source/test/intltest/ |
simplethread.h | 48 ThreadPoolBase(IntlTest *test, int32_t numThreads);
|
/external/lzma/CPP/7zip/Archive/7z/ |
7zDecode.h | 61 , bool mtMode, UInt32 numThreads
|
/external/lzma/CPP/7zip/Archive/Common/ |
HandlerOut.h | 27 , UInt32 numThreads
|
/external/mesa3d/src/gallium/drivers/swr/rasterizer/core/ |
threads.cpp | 101 uint32_t numThreads = (uint32_t)_mm_popcount_sizeT(gmask.Mask); 892 // Calculate numThreads 893 uint32_t numThreads = numNodes * numCoresPerNode * numHyperThreads; 894 numThreads = std::min(numThreads, numHWThreads); 899 numThreads = std::min(pContext->threadInfo.MAX_WORKER_THREADS, maxHWThreads); 905 if (numThreads == 1) 929 if (numThreads > numAPIReservedThreads) 931 numThreads -= numAPIReservedThreads; 941 numThreads = 1 [all...] |
/external/lzma/CPP/7zip/UI/Common/ |
Bench.cpp | 1173 numThreads
1199 numEncoderThreads = numThreads;
1205 if (!fixedNumber && numThreads == 1)
1207 if (numThreads > 1 && numLzmaThreads > 1)
1209 numEncoderThreads = numThreads / 2;
[all...] |
/external/guava/guava-tests/test/com/google/common/base/ |
SuppliersTest.java | 268 final int numThreads = 3; 269 final Thread[] threads = new Thread[numThreads]; 299 while (waitingThreads() != numThreads - 1) { 315 for (int i = 0; i < numThreads; i++) { 350 final int numThreads = 10; 352 Thread[] threads = new Thread[numThreads]; 353 for (int i = 0; i < numThreads; i++) { 369 assertEquals(numThreads * iterations + 1, (int) nonThreadSafe.get());
|
/device/linaro/bootloader/edk2/BaseTools/Source/C/LzmaCompress/Sdk/C/ |
LzmaEnc.h | 26 int numThreads; /* 1 or 2, default = 2 */
|