Home | History | Annotate | Download | only in Common

Lines Matching refs:NumThreads

1025     UInt32 numThreads,

1047 numEncoderThreads = numThreads;
1053 if (!fixedNumber && numThreads == 1)
1055 if (numThreads > 1 && numLzmaThreads > 1)
1057 numEncoderThreads = numThreads / 2;
1269 UInt64 GetBenchMemoryUsage(UInt32 numThreads, UInt32 dictionary)
1273 UInt32 numSubThreads = (numThreads > 1) ? 2 : 1;
1274 numThreads / numSubThreads;
1276 GetLZMAUsage((numThreads > 1), dictionary) + (2 << 20)) * numBigThreads;
1365 UInt32 NumThreads;
1367 CFreqThreads(): Items(0), NumThreads(0) {}
1370 for (UInt32 i = 0; i < NumThreads; i++)
1372 NumThreads = 0;
1414 UInt32 NumThreads;
1416 CCrcThreads(): Items(0), NumThreads(0) {}
1419 for (UInt32 i = 0; i < NumThreads; i++)
1421 NumThreads = 0;
1651 static void PrintRequirements(IBenchPrintCallback &f, const char *sizeString, UInt64 size, const char *threadsString, UInt32 numThreads)
1658 PrintNumber(f, numThreads, 3);
1758 UInt32 numThreads, bool forceUnpackSize, UInt32 unpackSize, IBenchPrintCallback *printCallback, CBenchCallbackToPrint *callback)
1779 false, numThreads, method, unpackSize2, bench.DictBits,
1800 UInt32 numThreads,
1811 if (numThreads == 0)
1812 numThreads = 1;
1815 numThreads = 1;
1827 if (numThreads > 1)
1829 threads.Items = new CFreqInfo[numThreads];
1831 for (i = 0; i < numThreads; i++)
1840 for (i = 0; i < numThreads; i++)
1844 threads.NumThreads++;
1847 for (i = 0; i < numThreads; i++)
1874 UInt64 numCommands = (UInt64)numIterations * bufferSize * numThreads * complexity;
1876 cpuFreq = rating / numThreads;
1890 UInt32 numThreads, UInt32 bufferSize,
1899 if (numThreads == 0)
1900 numThreads = 1;
1903 numThreads = 1;
1915 size_t totalSize = (size_t)bufferSize * numThreads;
1916 if (totalSize / numThreads != bufferSize)
1932 if (numThreads > 1)
1934 threads.Items = new CCrcInfo[numThreads];
1936 for (i = 0; i < numThreads; i++)
1965 for (i = 0; i < numThreads; i++)
1969 threads.NumThreads++;
1972 for (i = 0; i < numThreads; i++)
2000 UInt64 unpSizeThreads = unpSize * numThreads;
2023 UInt32 numThreads, UInt32 bufSize,
2045 numThreads, bufSize,
2081 static UInt32 GetNumThreadsNext(unsigned i, UInt32 numThreads)
2087 return (num <= numThreads) ? num : numThreads;
2122 UInt32 numThreads = numCPUs;
2144 RINOK(ParseMtProp(name.Ptr(2), propVariant, numCPUs, numThreads));
2191 if (numThreads < 1 || numThreads > kNumThreadsMax)
2209 true, numThreads,
2251 UInt32 t = GetNumThreadsNext(numThreadsTests, numThreads);
2254 if (t >= numThreads)
2284 UInt32 t = GetNumThreadsNext(ti, numThreads);
2319 if (GetBenchMemoryUsage(numThreads, ((UInt32)1 << dicSizeLog)) + (8 << 20) <= ramSize)
2325 PrintRequirements(f, "usage:", GetBenchMemoryUsage(numThreads, dict), "Benchmark threads: ", numThreads);
2427 RINOK(FreqBench(complexInCommands, numThreads, printCallback, freqTest == kNumCpuTests - 1, cpuFreq, resVal));
2436 res = TotalBench(EXTERNAL_CODECS_LOC_VARS complexInCommands, numThreads, dictIsDefined, dict, printCallback, &callback);
2439 res = TotalBench_Hash(EXTERNAL_CODECS_LOC_VARS complexInCommands, numThreads,
2448 RINOK(FreqBench(complexInCommands, numThreads, printCallback, false, cpuFreqLastTemp, resVal));
2511 numThreads,