Lines Matching refs:numThreads
1170 numThreads in MethodBench()
1198 numEncoderThreads = numThreads; in MethodBench()
1202 if (numThreads == 1 && method.Get_NumThreads() < 0) in MethodBench()
1205 if (numThreads > 1 && numLzmaThreads > 1) in MethodBench()
1207 numEncoderThreads = numThreads / 2; in MethodBench()
1443 UInt64 GetBenchMemoryUsage(UInt32 numThreads, UInt32 dictionary, bool totalBench) in GetBenchMemoryUsage() argument
1447 bool lzmaMt = (totalBench || numThreads > 1); in GetBenchMemoryUsage()
1448 UInt32 numBigThreads = numThreads; in GetBenchMemoryUsage()
1934 bool size_Defined, UInt64 size, const char *threadsString, UInt32 numThreads) in PrintRequirements() argument
1954 PrintNumber(f, numThreads, 3); in PrintRequirements()
2068 UInt32 numThreads, in TotalBench() argument
2097 false, numThreads, method, in TotalBench()
2122 UInt32 numThreads, in FreqBench() argument
2134 if (numThreads == 0) in FreqBench()
2135 numThreads = 1; in FreqBench()
2138 numThreads = 1; in FreqBench()
2150 if (numThreads > 1) in FreqBench()
2152 threads.Items = new CFreqInfo[numThreads]; in FreqBench()
2154 for (i = 0; i < numThreads; i++) in FreqBench()
2163 for (i = 0; i < numThreads; i++) in FreqBench()
2170 for (i = 0; i < numThreads; i++) in FreqBench()
2198 UInt64 numCommands = (UInt64)numIterations * bufferSize * numThreads * complexity; in FreqBench()
2200 cpuFreq = rating / numThreads; in FreqBench()
2217 UInt32 numThreads, UInt32 bufferSize, in CrcBench() argument
2226 if (numThreads == 0) in CrcBench()
2227 numThreads = 1; in CrcBench()
2230 numThreads = 1; in CrcBench()
2242 size_t totalSize = (size_t)bufferSize * numThreads; in CrcBench()
2243 if (totalSize / numThreads != bufferSize) in CrcBench()
2259 if (numThreads > 1) in CrcBench()
2261 threads.Items = new CCrcInfo[numThreads]; in CrcBench()
2264 for (i = 0; i < numThreads; i++) in CrcBench()
2299 for (i = 0; i < numThreads; i++) in CrcBench()
2306 for (i = 0; i < numThreads; i++) in CrcBench()
2335 UInt64 unpSizeThreads = unpSize * numThreads; in CrcBench()
2360 UInt32 numThreads, UInt32 bufSize, in TotalBench_Hash() argument
2382 numThreads, bufSize, in TotalBench_Hash()
2419 static UInt32 GetNumThreadsNext(unsigned i, UInt32 numThreads) in GetNumThreadsNext() argument
2425 return (num <= numThreads) ? num : numThreads; in GetNumThreadsNext()
3202 UInt32 numThreads = numThreadsSpecified; in Bench() local
3211 numThreads = 1; in Bench()
3216 numThreads = numCPUs; in Bench()
3220 numThreads = numCPUs / 2; in Bench()
3250 …if (GetBenchMemoryUsage(numThreads, ((UInt32)1 << dicSizeLog), totalBenchMode) + (8 << 20) <= ramS… in Bench()
3263 …s(f, "usage:", true, GetBenchMemoryUsage(numThreads, dict, totalBenchMode), "Benchmark threads: … in Bench()
3361 RINOK(FreqBench(complexInCommands, numThreads, printCallback, in Bench()
3380 complexInCommands, numThreads, in Bench()
3388 res = TotalBench_Hash(EXTERNAL_CODECS_LOC_VARS complexInCommands, numThreads, in Bench()
3397 RINOK(FreqBench(complexInCommands, numThreads, printCallback, in Bench()
3487 true, numThreads, in Bench()