HomeSort by relevance Sort by last modified time
    Searched refs:numThreads (Results 1 - 25 of 54) sorted by null

1 2 3

  /external/lzma/CPP/7zip/UI/Console/
BenchCon.h 12 FILE *f, UInt32 numIterations, UInt32 numThreads, UInt32 dictionary);
14 HRESULT CrcBenchCon(FILE *f, UInt32 numIterations, UInt32 numThreads, UInt32 dictionary);
BenchCon.cpp 147 static void PrintRequirements(FILE *f, const char *sizeString, UInt64 size, const char *threadsString, UInt32 numThreads)
151 fprintf(f, " MB, # %s %3d", threadsString, (unsigned int)numThreads);
156 FILE *f, UInt32 numIterations, UInt32 numThreads, UInt32 dictionary)
164 if (numThreads == (UInt32)-1)
165 numThreads = numCPUs;
166 if (numThreads > 1)
167 numThreads &= ~1;
172 if (GetBenchMemoryUsage(numThreads, ((UInt32)1 << dicSizeLog)) + (8 << 20) <= ramSize)
179 numThreads = 1;
182 PrintRequirements(f, "usage:", GetBenchMemoryUsage(numThreads, dictionary), "Benchmark threads: ", numThreads);
    [all...]
  /external/deqp/framework/delibs/decpp/
deSpinBarrier.cpp 34 SpinBarrier::SpinBarrier (deInt32 numThreads)
35 : m_numThreads (numThreads)
39 DE_ASSERT(numThreads > 0);
102 TestThread (SpinBarrier& barrier, volatile deInt32* sharedVar, int numThreads, int threadNdx, bool busyOk)
105 , m_numThreads (numThreads)
156 void multiThreadTest (int numThreads)
158 SpinBarrier barrier (numThreads);
160 std::vector<TestThread*> threads (numThreads, static_cast<TestThread*>(DE_NULL));
165 const bool busyOk = (deUint32)numThreads <= deGetNumAvailableLogicalCores();
167 for (int ndx = 0; ndx < numThreads; ndx++
    [all...]
deSpinBarrier.hpp 50 SpinBarrier (deInt32 numThreads);
  /external/lzma/C/
LzmaLib.h 39 -1 for any from: level, loc, lp, pb, fb, numThreads
85 numThreads - The number of thereads. 1 or 2. The default value is 2.
106 int numThreads /* 1 or 2, default = 2 */
LzmaLib.c 23 int numThreads /* 1 or 2, default = 2 */
34 props.numThreads = numThreads;
LzmaEnc.h 30 int numThreads; /* 1 or 2, default = 2 */
MtCoder.c 185 #define GET_NEXT_THREAD(p) &p->mtCoder->threads[p->index == p->mtCoder->numThreads - 1 ? 0 : p->index + 1]
274 unsigned i, numThreads = p->numThreads;
280 for (i = 0; i < numThreads; i++)
285 for (i = 0; i < numThreads; i++)
306 for (i = 0; i < numThreads; i++)
324 for (i = 0; i < numThreads; i++)
MtCoder.h 77 unsigned numThreads;
  /external/lzma/CPP/7zip/UI/Common/
Bench.h 33 UInt32 numThreads, UInt32 dictionarySize, IBenchCallback *callback);
37 UInt64 GetBenchMemoryUsage(UInt32 numThreads, UInt32 dictionary);
40 HRESULT CrcBench(UInt32 numThreads, UInt32 bufferSize, UInt64 &speed);
Bench.cpp 499 HRESULT Init(UInt32 dictionarySize, UInt32 numThreads, CBaseRandomGenerator *rg);
553 HRESULT CEncoderInfo::Init(UInt32 dictionarySize, UInt32 numThreads, CBaseRandomGenerator *rgLoc)
590 props[1].ulVal = numThreads;
668 UInt32 numThreads, UInt32 dictionarySize, IBenchCallback *callback)
672 (numThreads > 1 ? numThreads / 2 : 1);
678 (numThreads > 1 ? 2 : 1);
682 if (dictionarySize < (1 << kBenchMinDicLogSize) || numThreads < 1 || numEncoderThreads > kNumThreadsMax)
713 RINOK(encoders[i].Init(dictionarySize, numThreads, &rg));
865 UInt64 GetBenchMemoryUsage(UInt32 numThreads, UInt32 dictionary)
    [all...]
  /external/icu/icu4c/source/test/threadtest/
threadtest.cpp 159 int numThreads;
220 gRunInfo.numThreads = 2;
241 gRunInfo.numThreads = atoi(argv[argnum]);
242 if (gRunInfo.numThreads < 0)
401 if (gRunInfo.numThreads == 0)
408 gThreadInfo = new ThreadInfo[gRunInfo.numThreads];
410 for (threadNum=0; threadNum < gRunInfo.numThreads; threadNum++)
445 for (threadNum=0; threadNum < gRunInfo.numThreads; threadNum++)
457 for (threadNum=0; threadNum < gRunInfo.numThreads; threadNum++)
518 for (threadNum=0; threadNum < gRunInfo.numThreads; threadNum++)
    [all...]
  /external/lzma/CPP/7zip/Archive/Common/
ParseProperties.h 16 HRESULT ParseMtProp(const UString &name, const PROPVARIANT &prop, UInt32 defaultNumThreads, UInt32 &numThreads);
ParseProperties.cpp 150 HRESULT ParseMtProp(const UString &name, const PROPVARIANT &prop, UInt32 defaultNumThreads, UInt32 &numThreads)
157 numThreads = prop.ulVal;
163 numThreads = (val ? defaultNumThreads : 1);
174 numThreads = number;
HandlerOut.h 59 , UInt32 numThreads
  /libcore/luni/src/test/java/tests/support/
ThreadPool.java 32 public ThreadPool(int numThreads) {
39 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 */
aacdec_drc.cpp 132 self->numThreads = 0;
687 self->numThreads = 0;
690 for (i = 0; i < self->numPayloads && self->numThreads < MAX_DRC_THREADS; i++) {
695 FDKmemclear(&threadBs[self->numThreads], sizeof(CDrcPayload));
696 threadBs[self->numThreads].channelData.bandTop[0] = (1024 >> 2) - 1;
700 &threadBs[self->numThreads],
703 self->numThreads++;
714 FDKmemclear(&threadBs[self->numThreads], sizeof(CDrcPayload));
715 threadBs[self->numThreads].channelData.bandTop[0] = (1024 >> 2) - 1;
719 &threadBs[self->numThreads],
    [all...]
  /external/lzma/CPP/7zip/Archive/7z/
7zDecode.h 61 , bool mtMode, UInt32 numThreads
7zHandler.h 96 , UInt32 numThreads
  /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());
  /external/deqp/framework/delibs/dethread/
deThreadTest.c 554 static void runSingletonThreadedTest (int numThreads, int initTimeMs)
562 for (threadNdx = 0; threadNdx < numThreads; threadNdx++)
574 for (threadNdx = 0; threadNdx < numThreads; threadNdx++)
592 int numThreads;
610 int numThreads = cases[caseNdx].numThreads;
616 runSingletonThreadedTest(numThreads, initTimeMs);
  /external/lzma/CPP/7zip/Bundles/LzmaCon/
LzmaAlone.cpp 215 UInt32 numThreads = (UInt32)-1;
223 numThreads = numCPUs;
225 if (!GetNumber(s, numThreads))
239 return LzmaBenchCon(stderr, numIterations, numThreads, dict);
242 if (numThreads == (UInt32)-1)
243 numThreads = 1;
434 props[8].ulVal = (UInt32)numThreads;
  /external/deqp/modules/egl/
teglColorClearCase.cpp 351 int numThreads = (int)contexts.size();
352 int numPackets = numThreads * numPacketsPerThread;
355 vector<vector<ClearPacket> > packets (numThreads);
356 vector<ColorClearThreadSp> threads (numThreads);
363 for (int threadNdx = 0; threadNdx < numThreads; threadNdx++)
372 packet.wait = semaphores[packetNdx*numThreads + threadNdx];
373 packet.signal = semaphores[packetNdx*numThreads + threadNdx + 1];
387 for (int threadNdx = 0; threadNdx < numThreads; threadNdx++)
412 for (int threadNdx = 0; threadNdx < numThreads; threadNdx++)
418 for (int threadNdx = 0; threadNdx < numThreads; threadNdx++
    [all...]
  /libcore/luni/src/test/java/tests/java/sql/
MultiThreadAccessTest.java 41 private static final int numThreads = 10;
57 threadPool = new ThreadPool(numThreads);
116 * the database. Number of threads is defined by numThreads variable
121 for (int i = 0; i < numThreads; i++) {
128 * tables in the database. Number of threads is defined by numThreads
142 * numThreads variable
197 * the database. Number of threads is defined by numThreads variable
216 for (int i = 0; i < numThreads; i++) {
222 double expectedVal = id + numThreads;

Completed in 494 milliseconds

1 2 3